Pagini recente » Borderou de evaluare (job #2690756) | Borderou de evaluare (job #358598) | Borderou de evaluare (job #2813328) | Borderou de evaluare (job #10051) | Borderou de evaluare (job #949711)
Borderou de evaluare (job #949711)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.in", "r", stdin);
^
main.cpp:64:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.out", "w", stdout);
^
main.cpp:66:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i\n", &N, &M, &Q);
^
main.cpp:69:42: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(S + 1, Nmax, stdin);
^
main.cpp:108:57: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i %i", &X1, &Y1, &X2, &Y2);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:69:42:
/usr/include/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 25ms | 12582kb | OK! | 8 |
2 | 34ms | 12976kb | OK! | 10 |
3 | 85ms | 14286kb | OK! | 10 |
4 | 278ms | 16121kb | OK! | 10 |
5 | 452ms | 20578kb | Time limit exceeded | 0 |
6 | 451ms | 20578kb | Time limit exceeded | 0 |
7 | 453ms | 20447kb | Time limit exceeded | 0 |
8 | 460ms | 20316kb | Time limit exceeded | 0 |
9 | 453ms | 21233kb | Time limit exceeded | 0 |
10 | 453ms | 20537kb | Time limit exceeded | 0 |
11 | 37ms | 12320kb | OK! | 1 |
12 | 28ms | 12451kb | OK! | 1 |
Punctaj total | 40 |