Pagini recente » Borderou de evaluare (job #2245763) | Borderou de evaluare (job #1470827) | Borderou de evaluare (job #3023548) | Borderou de evaluare (job #1121115) | Borderou de evaluare (job #1570201)
Borderou de evaluare (job #1570201)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in", "r", stdin);
^
user.cpp:8: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 ‘void solve()’:
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 432kb | OK | 10 |
| 3 | 0ms | 444kb | OK | 10 |
| 4 | 4ms | 476kb | OK | 10 |
| 5 | 16ms | 628kb | OK | 10 |
| 6 | 28ms | 824kb | OK | 10 |
| 7 | 68ms | 1216kb | OK | 10 |
| 8 | 152ms | 2392kb | OK | 10 |
| 9 | 304ms | 4336kb | OK | 10 |
| 10 | 304ms | 4340kb | OK | 10 |
| Punctaj total | 100 |