Pagini recente » Cod sursa (job #855343) | Cod sursa (job #1042055) | Cod sursa (job #720236) | Cod sursa (job #2890337) | Borderou de evaluare (job #2710572)
Borderou de evaluare (job #2710572)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "r", stdin);
^
main.cpp:33:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "w", stdout);
^
main.cpp:35:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:39:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:46:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nod[i].val);
^
main.cpp:53:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 801ms | 16908kb | Time limit exceeded | 0 |
| 2 | 801ms | 16908kb | Time limit exceeded | 0 |
| 3 | 800ms | 16908kb | Time limit exceeded | 0 |
| 4 | 803ms | 16908kb | Time limit exceeded | 0 |
| 5 | 802ms | 16908kb | Time limit exceeded | 0 |
| 6 | 802ms | 16908kb | Time limit exceeded | 0 |
| 7 | 803ms | 16908kb | Time limit exceeded | 0 |
| 8 | 801ms | 16908kb | Time limit exceeded | 0 |
| 9 | 800ms | 16908kb | Time limit exceeded | 0 |
| 10 | 800ms | 16908kb | Time limit exceeded | 0 |
| Punctaj total | 0 |