Pagini recente » Borderou de evaluare (job #2883144) | Borderou de evaluare (job #1031845) | Borderou de evaluare (job #2073208) | Borderou de evaluare (job #2548872) | Borderou de evaluare (job #1687816)
Borderou de evaluare (job #1687816)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d", & d);
^
user.cpp:61:15: warning: left operand of comma operator has no effect [-Wunused-value]
switch(b[i],b[n+1-i]);
^
user.cpp:38: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:39: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:43:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", & d);
^
/tmp/ccnstVta.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 | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 368kb | Incorect | 0 |
5 | 8ms | 564kb | OK | 10 |
6 | 20ms | 1156kb | OK | 10 |
7 | 60ms | 2584kb | Incorect | 0 |
8 | 152ms | 6136kb | Incorect | 0 |
9 | 200ms | 8188kb | Incorect | 0 |
10 | 68ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 40 |