Pagini recente » Borderou de evaluare (job #287076) | Borderou de evaluare (job #109170) | Borderou de evaluare (job #2173805) | Borderou de evaluare (job #1172286) | Borderou de evaluare (job #1288688)
Borderou de evaluare (job #1288688)
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 | 436kb | OK | 10 |
3 | 0ms | 480kb | OK | 10 |
4 | 0ms | 568kb | OK | 10 |
5 | 4ms | 880kb | OK | 10 |
6 | 4ms | 1148kb | OK | 10 |
7 | 8ms | 1160kb | OK | 10 |
8 | 4ms | 1160kb | OK | 10 |
9 | 8ms | 1156kb | OK | 10 |
10 | 8ms | 1220kb | OK | 10 |
Punctaj total | 100 |