Pagini recente » Cod sursa (job #622411) | Borderou de evaluare (job #2760847) | Borderou de evaluare (job #1466637) | Borderou de evaluare (job #1141282) | Borderou de evaluare (job #1551420)
Borderou de evaluare (job #1551420)
Raport evaluator
Compilare:
user.cpp: In function ‘int modsum(int&, int)’:
user.cpp:12:65: warning: no return statement in function returning non-void [-Wreturn-type]
inline int modsum(int &x, int nr) {x += nr; while(x>=MOD)x-=MOD;}
^
user.cpp: In function ‘int main()’:
user.cpp:62:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evantai.in", "r", stdin);
^
user.cpp:63:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evantai.out", "w", stdout);
^
user.cpp:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 976kb | OK | 5 |
2 | 0ms | 652kb | OK | 5 |
3 | 4ms | 1672kb | OK | 5 |
4 | 0ms | 1108kb | OK | 5 |
5 | 8ms | 3352kb | OK | 5 |
6 | 24ms | 2268kb | OK | 5 |
7 | 20ms | 2268kb | OK | 5 |
8 | 52ms | 6296kb | Incorect | 0 |
9 | 68ms | 5608kb | Incorect | 0 |
10 | 84ms | 4584kb | Incorect | 0 |
11 | 120ms | 6332kb | Incorect | 0 |
12 | 144ms | 4404kb | Incorect | 0 |
13 | 212ms | 5168kb | Incorect | 0 |
14 | 268ms | 6332kb | Incorect | 0 |
15 | 284ms | 6324kb | Incorect | 0 |
16 | 296ms | 5484kb | Incorect | 0 |
17 | Depăşit | 6304kb | Time limit exceeded. | 0 |
18 | 288ms | 5172kb | Incorect | 0 |
19 | Depăşit | 6308kb | Time limit exceeded. | 0 |
20 | 0ms | 648kb | OK | 5 |
Punctaj total | 40 |