Pagini recente » Borderou de evaluare (job #2132437) | Borderou de evaluare (job #1482805) | Borderou de evaluare (job #691038) | Borderou de evaluare (job #772801) | Borderou de evaluare (job #2241768)
Borderou de evaluare (job #2241768)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Path::reversePathAndMakeTree()’:
user.cpp:74:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(nn < P.size()) nn <<= 1;
~~~^~~~~~~~~~
user.cpp:77:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= P.size(); ++ i) {
~~^~~~~~~~~~~
user.cpp: In function ‘int solve1(int, int)’:
user.cpp:129:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (nodes[paths[nodes[a].pat].par].niv < nodes[paths[nodes[b].pat].par].niv)
^~
user.cpp:132:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
ans = max(paths[nodes[a].pat].query(1, 1, paths[nodes[a].pat].P.size(), 1, nodes[a].pos), ans);
^~~
user.cpp: In function ‘int main()’:
user.cpp:140:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.in", "r", stdin);
^
user.cpp:141:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.out", "w", stdout);
^
user.cpp:143:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:145:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; ++ i) scanf("%d ", &nodes[i].val);
^
user.cpp:149:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:159:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &t, &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 4288kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 4288kb | Time limit exceeded. | 0 |
3 | Depăşit | 4340kb | Time limit exceeded. | 0 | 0 |
4 | Depăşit | 4404kb | Time limit exceeded. | 0 |
5 | Depăşit | 7280kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 5328kb | Time limit exceeded. | 0 |
7 | Depăşit | 6852kb | Time limit exceeded. | 0 |
8 | Depăşit | 5328kb | Time limit exceeded. | 0 |
9 | Depăşit | 10260kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 6248kb | Time limit exceeded. | 0 |
11 | Depăşit | 9392kb | Time limit exceeded. | 0 |
12 | Depăşit | 6244kb | Time limit exceeded. | 0 |
13 | Depăşit | 10660kb | Time limit exceeded. | 0 | 0 |
14 | Depăşit | 6964kb | Time limit exceeded. | 0 |
15 | Depăşit | 11472kb | Time limit exceeded. | 0 |
16 | Depăşit | 6964kb | Time limit exceeded. | 0 |
17 | 400ms | 12740kb | OK | 5 | 0 |
18 | Depăşit | 7676kb | Time limit exceeded. | 0 |
19 | Depăşit | 12176kb | Time limit exceeded. | 0 |
20 | Depăşit | 7676kb | Time limit exceeded. | 0 |
Punctaj total | 0 |