Borderou de evaluare (job #1288004)

Utilizator bogdanpaunFMI Paun Bogdan Gabriel bogdanpaun Data 8 decembrie 2014 13:12:44
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

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
10ms452kbOK10
20ms440kbOK10
30ms480kbOK10
40ms568kbOK10
5Depăşit628kbTime limit exceeded.0
6Depăşit760kbTime limit exceeded.0
7Depăşit768kbTime limit exceeded.0
8Depăşit784kbTime limit exceeded.0
9Depăşit756kbTime limit exceeded.0
10Depăşit892kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?