Pagini recente » Cod sursa (job #28679) | Cod sursa (job #764599) | Cod sursa (job #343151) | Cod sursa (job #2899393) | Borderou de evaluare (job #2503842)
Borderou de evaluare (job #2503842)
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:51: 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(fin, "%d", &w[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 262kb | OK | 10 |
| 2 | 3ms | 262kb | OK | 10 |
| 3 | 2ms | 262kb | OK | 10 |
| 4 | 5ms | 1179kb | OK | 10 |
| 5 | 7ms | 1703kb | OK | 10 |
| 6 | 8ms | 1740kb | OK | 10 |
| 7 | 115ms | 22282kb | OK | 10 |
| 8 | 204ms | 35389kb | Time limit exceeded | 0 |
| 9 | 92ms | 13631kb | OK | 10 |
| 10 | 117ms | 18612kb | OK | 10 |
| Punctaj total | 90 |