Pagini recente » Monitorul de evaluare | Cod sursa (job #25865) | Cod sursa (job #782301) | Cod sursa (job #877341) | Borderou de evaluare (job #1959687)
Borderou de evaluare (job #1959687)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:39: warning: unused variable ‘j’ [-Wunused-variable]
int n, t, i, nr, suma, st, dr, mij, j;
^
user.cpp:14:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &t);
^
user.cpp:15:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; i++)fscanf(fin, "%d", &v[i]);
^
user.cpp:20:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &nr, &suma);
^
user.cpp:33:33: warning: ‘mij’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d\n", mij - nr + 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 4ms | 428kb | OK | 10 |
| 3 | 8ms | 428kb | OK | 10 |
| 4 | 28ms | 428kb | OK | 10 |
| 5 | 28ms | 432kb | OK | 10 |
| 6 | 48ms | 440kb | OK | 10 |
| 7 | Depăşit | 472kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 508kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 512kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 524kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |