Pagini recente » Antocod | Cod sursa (job #413686) | Monitorul de evaluare | Borderou de evaluare (job #1620619) | Borderou de evaluare (job #1780832)
Borderou de evaluare (job #1780832)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:7:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp: In function ‘int main()’:
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hercule.in", "r", stdin);
^
user.cpp:53:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hercule.out", "w", stdout);
^
user.cpp:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 72ms | 436kb | OK | 20 |
| 2 | 76ms | 436kb | OK | 20 |
| 3 | 76ms | 436kb | OK | 20 |
| 4 | 76ms | 436kb | OK | 20 |
| 5 | 76ms | 436kb | OK | 20 |
| Punctaj total | 100 |