Pagini recente » Borderou de evaluare (job #2085316) | Borderou de evaluare (job #1129366) | Borderou de evaluare (job #831543) | Borderou de evaluare (job #936989) | Borderou de evaluare (job #1590063)
Borderou de evaluare (job #1590063)
Raport evaluator
Compilare:
user.cpp: In function ‘void buildBounds()’:
user.cpp:66:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < bfsOrder.size(); i++) {
^
user.cpp: In function ‘void afisare()’:
user.cpp:93:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < crt->virus.size(); j++)
^
user.cpp: In function ‘void read(short int*, int)’:
user.cpp:33:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%c", &crt); crt == '\n'; scanf("%c", &crt));
^
user.cpp:33:5: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%c", &crt); crt == '\n'; scanf("%c", &crt));
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &crt);
^
user.cpp: In function ‘int main()’:
user.cpp:103:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in", "r", stdin);
^
user.cpp:104:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out", "w", stdout);
^
user.cpp:106:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:110:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 664kb | OK | 10 |
2 | 48ms | 472kb | OK | 10 |
3 | 108ms | 692kb | OK | 10 |
4 | 188ms | 25680kb | OK | 10 |
5 | 300ms | 42256kb | OK | 10 |
6 | 180ms | 25408kb | OK | 10 |
7 | 392ms | 51136kb | OK | 10 |
8 | 196ms | 25780kb | OK | 10 |
9 | 28ms | 3744kb | OK | 10 |
10 | 12ms | 1736kb | OK | 10 |
Punctaj total | 100 |