Pagini recente » Borderou de evaluare (job #1808247) | Borderou de evaluare (job #418829) | Cod sursa (job #1914471) | Cod sursa (job #2941379) | Borderou de evaluare (job #2451421)
Borderou de evaluare (job #2451421)
Raport evaluator
Compilare:
main.cpp: In function 'int read()':
main.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:60:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(H[v[i]].size() - 1 < lgmin) lgmin = H[v[i]].size() - 1;
~~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:50:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
main.cpp:51:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
main.cpp:56:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
main.cpp:59:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp: In function 'int read()':
main.cpp:16:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
main.cpp:18:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 250ms | 1572kb | OK | 5 |
2 | 273ms | 1572kb | OK | 5 |
3 | 29ms | 393kb | OK | 5 |
4 | 28ms | 393kb | OK | 5 |
5 | 29ms | 393kb | OK | 5 |
6 | 28ms | 393kb | OK | 5 |
7 | 254ms | 1179kb | OK | 5 |
8 | 239ms | 1179kb | OK | 5 |
9 | 258ms | 1179kb | OK | 5 |
10 | 236ms | 1572kb | OK | 5 |
11 | 251ms | 1703kb | OK | 5 |
12 | 233ms | 1441kb | Incorect | 0 |
13 | 263ms | 1572kb | Incorect | 0 |
14 | 260ms | 1441kb | Incorect | 0 |
15 | 251ms | 1572kb | OK | 5 |
16 | 184ms | 1310kb | Incorect | 0 |
17 | 342ms | 1310kb | OK | 5 |
18 | 336ms | 1179kb | OK | 5 |
19 | 321ms | 1310kb | OK | 5 |
20 | 331ms | 1310kb | OK | 5 |
Punctaj total | 80 |