Pagini recente » Borderou de evaluare (job #53322) | Borderou de evaluare (job #560996) | Borderou de evaluare (job #2445238) | Borderou de evaluare (job #1577067) | Borderou de evaluare (job #1259545)
Borderou de evaluare (job #1259545)
Raport evaluator
Compilare:
user.cpp: In function ‘int update(int)’:
user.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.in", "r", stdin);
^
user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.out", "w", stdout);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:41:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i].v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | OK | 10 |
2 | 8ms | 436kb | OK | 10 |
3 | 20ms | 668kb | OK | 10 |
4 | 36ms | 892kb | OK | 10 |
5 | 56ms | 1208kb | OK | 10 |
6 | 68ms | 1372kb | OK | 10 |
7 | 72ms | 1528kb | OK | 10 |
8 | 84ms | 1672kb | OK | 10 |
9 | 96ms | 1812kb | OK | 10 |
10 | 0ms | 292kb | OK | 10 |
Punctaj total | 100 |