Pagini recente » Borderou de evaluare (job #350971) | Borderou de evaluare (job #1233596) | Borderou de evaluare (job #334787) | Borderou de evaluare (job #1835554) | Borderou de evaluare (job #1288581)
Borderou de evaluare (job #1288581)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:127:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[50005]’ [-Wformat=]
scanf("%s\n%s\n",&ch1,&ch2);
^
user.cpp:127:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50005]’ [-Wformat=]
user.cpp:125:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in" ,"r" ,stdin);
^
user.cpp:126:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out","w" ,stdout);
^
user.cpp:127:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%s\n",&ch1,&ch2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 572kb | OK | 10 |
5 | 4ms | 792kb | Incorect | 0 |
6 | 4ms | 1008kb | Incorect | 0 |
7 | 8ms | 1012kb | Incorect | 0 |
8 | 4ms | 1020kb | Incorect | 0 |
9 | 8ms | 996kb | Incorect | 0 |
10 | 8ms | 1132kb | OK | 10 |
Punctaj total | 50 |