Pagini recente » Borderou de evaluare (job #1306204) | Borderou de evaluare (job #217949) | Borderou de evaluare (job #444878) | Borderou de evaluare (job #2130743) | Borderou de evaluare (job #1287995)
Borderou de evaluare (job #1287995)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15: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:15:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50005]’ [-Wformat=]
user.cpp:13: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:14: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:15: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 | 428kb | Incorect | 0 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 448kb | Incorect | 0 |
4 | 0ms | 540kb | Incorect | 0 |
5 | 0ms | 640kb | Incorect | 0 |
6 | 0ms | 772kb | Incorect | 0 |
7 | 0ms | 784kb | Incorect | 0 |
8 | 0ms | 800kb | Incorect | 0 |
9 | 0ms | 768kb | Incorect | 0 |
10 | 0ms | 904kb | Incorect | 0 |
Punctaj total | 10 |