(I2
I59
I4
(dp0
Vtimestamp.%l
p1
(Vtimestamp.cpp
p2
S'#include <bits/stdc++.h>\r\n#include <iostream>\r\n#include <algorithm>\r\n#include <stdio.h>\r\n#include <stack>\r\n#include <vector>\r\n#include <queue>\r\n#include <math.h>\r\nusing namespace std;\r\n\r\nstruct timestamp()\r\n{\r\n    int a = 0;\r\n    int time;\r\n};\r\ntimestamp sel[100];\r\n\r\nstring t, of;\r\nlong long tc;\r\nint n;\r\n\r\n\r\nvoid read()\r\n{\r\n    cin >> n;\r\n    for(int i = 0;i < n; ++i)\r\n    {\r\n        cin >> t >> of >> sel[i].time;\r\n        switch (t)\r\n        {\r\n            case "day" :\r\n                sel[i].a = 0;\r\n            case "week" :\r\n                sel[i].a = 1;\r\n            case "year" :\r\n                sel[i].a = 2;\r\n        }\r\n\r\n    }\r\n}\r\n\r\nint main()\r\n{\r\n\r\n    read();\r\n    for(int i = 0;i < n; ++i)\r\n    {\r\n        if(sel[i].a == 0)\r\n        {\r\n            for(int i = 0;i)\r\n        }\r\n    }\r\n\r\n    return 0;\r\n}\r\n'
p3
tp4
stp5
.