Pagini recente » Borderou de evaluare (job #2508534) | Borderou de evaluare (job #1447473) | Borderou de evaluare (job #2563134) | Borderou de evaluare (job #2319118) | Borderou de evaluare (job #1679160)
Borderou de evaluare (job #1679160)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%ld", &r[i]);
^
user.cpp:20:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld%ld", &nr_of_roosters, &nr_of_hens);
^
user.cpp:23:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld", &r[i]);
^
user.cpp:26:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld", &h[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 448kb | Incorect | 0 |
3 | 0ms | 468kb | Incorect | 0 |
4 | 0ms | 468kb | Incorect | 0 |
5 | 156ms | 1620kb | Incorect | 0 |
6 | 204ms | 1616kb | Incorect | 0 |
7 | 188ms | 1620kb | Incorect | 0 |
8 | 168ms | 1620kb | Incorect | 0 |
9 | 164ms | 1616kb | Incorect | 0 |
10 | 140ms | 1616kb | Incorect | 0 |
Punctaj total | 10 |