Pagini recente » Borderou de evaluare (job #1214710) | Borderou de evaluare (job #1181856) | Borderou de evaluare (job #1293873) | Borderou de evaluare (job #2360428) | Borderou de evaluare (job #1288691)
Borderou de evaluare (job #1288691)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:87: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:87:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50005]’ [-Wformat=]
user.cpp:85: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:86: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:87: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 | 448kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 476kb | OK | 10 |
4 | 0ms | 564kb | OK | 10 |
5 | 4ms | 876kb | OK | 10 |
6 | 4ms | 1140kb | OK | 10 |
7 | 8ms | 1156kb | OK | 10 |
8 | 4ms | 1160kb | OK | 10 |
9 | 8ms | 1152kb | OK | 10 |
10 | 8ms | 1216kb | OK | 10 |
Punctaj total | 100 |