Pagini recente » Borderou de evaluare (job #1942961) | Borderou de evaluare (job #1389214) | Borderou de evaluare (job #1191432) | Borderou de evaluare (job #1396871) | Borderou de evaluare (job #1902779)
Borderou de evaluare (job #1902779)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:100:11: warning: unused variable ‘fiu’ [-Wunused-variable]
int fiu = *it;
^
user.cpp:112:11: warning: unused variable ‘fiu’ [-Wunused-variable]
int fiu = *it;
^
user.cpp: In function ‘void read()’:
user.cpp:25:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:26:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; i++)fscanf(f, "%d", &dur[i]);
^
user.cpp:29:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &mk);
^
user.cpp:32:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &k);
^
user.cpp: In function ‘void solve()’:
user.cpp:106:21: warning: array subscript is below array bounds [-Warray-bounds]
l[n + 1] = e[n + 1];
^
user.cpp:106:10: warning: array subscript is below array bounds [-Warray-bounds]
l[n + 1] = e[n + 1];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 420kb | OK! | 10 |
| 2 | 0ms | 428kb | OK! | 10 |
| 3 | 0ms | 440kb | OK! | 10 |
| 4 | 0ms | 436kb | OK! | 10 |
| 5 | 0ms | 448kb | OK! | 10 |
| 6 | 0ms | 448kb | OK! | 10 |
| 7 | 0ms | 432kb | A doua valoare gresita! | 7 |
| 8 | 0ms | 440kb | A doua valoare gresita! | 7 |
| 9 | 0ms | 440kb | OK! | 10 |
| 10 | 0ms | 432kb | OK! | 10 |
| Punctaj total | 94 |