Pagini recente » Borderou de evaluare (job #1073353) | Borderou de evaluare (job #2228651) | Borderou de evaluare (job #1104599) | Borderou de evaluare (job #508537) | Borderou de evaluare (job #1618565)
Borderou de evaluare (job #1618565)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:10: warning: statement has no effect [-Wunused-value]
for(i;i<=n+20;++i) printf("%d",a[i]);
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:15:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch+1);
^
user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&nr);
^
/tmp/ccnqkp7q.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 8ms | 440kb | OK | 10 |
6 | 28ms | 768kb | OK | 10 |
7 | 104ms | 1564kb | OK | 10 |
8 | 256ms | 3536kb | OK | 10 |
9 | 348ms | 4680kb | OK | 10 |
10 | 8ms | 5152kb | Incorect | 0 |
Punctaj total | 90 |