Pagini recente » Borderou de evaluare (job #683391) | Borderou de evaluare (job #3244531) | Borderou de evaluare (job #841821) | Borderou de evaluare (job #1448929) | Borderou de evaluare (job #1525358)
Borderou de evaluare (job #1525358)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:123:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10]’ [-Wformat=]
scanf("%s",&op);
^
user.cpp:137:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(op[0]=='M'&&op[2]=='N')
^
user.cpp:142:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(op[0]=='M'&&op[2]=='X')
^
user.cpp:116:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeap.in","r",stdin);
^
user.cpp:117:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeap.out","w",stdout);
^
user.cpp:123:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&op);
^
user.cpp:125:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:147:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 8ms | 328kb | Incorect | 0 |
3 | 60ms | 700kb | Incorect | 0 |
4 | 96ms | 1184kb | Incorect | 0 |
5 | 200ms | 1944kb | Incorect | 0 |
6 | 300ms | 2880kb | Incorect | 0 |
7 | 540ms | 5616kb | Incorect | 0 |
8 | 512ms | 3388kb | Incorect | 0 |
9 | 216ms | 900kb | Incorect | 0 |
10 | 572ms | 5624kb | Incorect | 0 |
Punctaj total | 10 |