Pagini recente » Borderou de evaluare (job #1833998) | Borderou de evaluare (job #3278189) | Borderou de evaluare (job #2750755) | Borderou de evaluare (job #661029) | Borderou de evaluare (job #1288669)
Borderou de evaluare (job #1288669)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:95: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:95:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50005]’ [-Wformat=]
user.cpp:93: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:94: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:95: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 | 444kb | OK | 10 |
| 3 | 0ms | 488kb | OK | 10 |
| 4 | 0ms | 576kb | OK | 10 |
| 5 | 4ms | 788kb | Incorect | 0 |
| 6 | 8ms | 1000kb | Incorect | 0 |
| 7 | 8ms | 1012kb | Incorect | 0 |
| 8 | 8ms | 1028kb | Incorect | 0 |
| 9 | 8ms | 996kb | Incorect | 0 |
| 10 | 8ms | 1132kb | OK | 10 |
| Punctaj total | 50 |