Pagini recente » Borderou de evaluare (job #1577413) | Borderou de evaluare (job #1750572) | Borderou de evaluare (job #2563397) | Borderou de evaluare (job #2422908) | Borderou de evaluare (job #1687834)
Borderou de evaluare (job #1687834)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:68:15: warning: left operand of comma operator has no effect [-Wunused-value]
switch(b[i],b[n+1-i]);
^
user.cpp:42: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:43:31: 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:47:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
user.cpp:53:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", & d);
^
/tmp/ccuoovvR.o: In function `main':
user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 340kb | OK | 10 |
5 | 8ms | 444kb | OK | 10 |
6 | 24ms | 780kb | OK | 10 |
7 | 56ms | 1564kb | Incorect | 0 |
8 | 144ms | 3540kb | Incorect | 0 |
9 | 200ms | 4684kb | Incorect | 0 |
10 | 212ms | 5164kb | Incorect | 0 |
Punctaj total | 60 |