Pagini recente » Cod sursa (job #742455) | Borderou de evaluare (job #2128898) | Borderou de evaluare (job #2513116) | Cod sursa (job #93080) | Borderou de evaluare (job #2503847)
Borderou de evaluare (job #2503847)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d", &n, &p);
^
main.cpp:28:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &x, &y);
^
main.cpp:32:47: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) fscanf(fin, "%d", &w[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 262kb | OK | 10 |
| 2 | 3ms | 262kb | OK | 10 |
| 3 | 3ms | 262kb | OK | 10 |
| 4 | 7ms | 1179kb | OK | 10 |
| 5 | 8ms | 1703kb | OK | 10 |
| 6 | 10ms | 1716kb | OK | 10 |
| 7 | 136ms | 22290kb | OK | 10 |
| 8 | 175ms | 35389kb | OK | 10 |
| 9 | 91ms | 13742kb | OK | 10 |
| 10 | 99ms | 18604kb | OK | 10 |
| Punctaj total | 100 |