Borderou de evaluare (job #1265614)

Utilizator Athena99Anghel Anca Athena99 Data 17 noiembrie 2014 15:05:27
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[50001]’ [-Wformat=] scanf("%s%s", &a, &b); ^ user.cpp:41:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50001]’ [-Wformat=] user.cpp:37:37: 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:38:39: 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:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s%s", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms264kbOK10
30ms288kbOK10
40ms380kbOK10
50ms580kbOK10
616ms768kbOK10
78ms784kbOK10
8Depăşit768kbTime limit exceeded.0
916ms768kbOK10
10Depăşit824kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?