Pagini recente » Borderou de evaluare (job #2343265) | Borderou de evaluare (job #1684027) | Borderou de evaluare (job #1454203) | Borderou de evaluare (job #1009493) | Borderou de evaluare (job #1525617)
Borderou de evaluare (job #1525617)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:122:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10]’ [-Wformat=]
while(scanf("%s",&op)!=EOF){
^
user.cpp:138:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(op[0]=='M'&&op[2]=='N')
^
user.cpp:143:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(op[0]=='M'&&op[2]=='X')
^
user.cpp:111: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:112: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:124:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:148: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 | 276kb | OK | 10 |
2 | 8ms | 332kb | OK | 10 |
3 | 64ms | 708kb | OK | 10 |
4 | 96ms | 1184kb | OK | 10 |
5 | 204ms | 1944kb | OK | 10 |
6 | 320ms | 2884kb | OK | 10 |
7 | 552ms | 5616kb | OK | 10 |
8 | 520ms | 3400kb | Incorect | 0 |
9 | 240ms | 904kb | Incorect | 0 |
10 | 584ms | 5628kb | OK | 10 |
Punctaj total | 80 |