Pagini recente » Borderou de evaluare (job #2869494) | Borderou de evaluare (job #2451426)
Borderou de evaluare (job #2451426)
Raport evaluator
Compilare:
main.cpp: In function 'int read()':
main.cpp:23:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:58: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:48: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:49: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:54:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
main.cpp:57: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:14: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:16: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 | 261ms | 1572kb | OK | 5 |
2 | 256ms | 1572kb | OK | 5 |
3 | 23ms | 393kb | OK | 5 |
4 | 29ms | 393kb | OK | 5 |
5 | 29ms | 393kb | OK | 5 |
6 | 29ms | 393kb | OK | 5 |
7 | 257ms | 1179kb | OK | 5 |
8 | 255ms | 1179kb | OK | 5 |
9 | 264ms | 1179kb | OK | 5 |
10 | 248ms | 1572kb | OK | 5 |
11 | 258ms | 1703kb | OK | 5 |
12 | 255ms | 1572kb | Incorect | 0 |
13 | 241ms | 1572kb | Incorect | 0 |
14 | 274ms | 1441kb | Incorect | 0 |
15 | 256ms | 1613kb | OK | 5 |
16 | 186ms | 1310kb | Incorect | 0 |
17 | 312ms | 1310kb | OK | 5 |
18 | 299ms | 1179kb | OK | 5 |
19 | 297ms | 1310kb | OK | 5 |
20 | 332ms | 1310kb | OK | 5 |
Punctaj total | 80 |