Borderou de evaluare (job #1364070)

Utilizator dumitrubogdanDumitru Bogdan Mihai dumitrubogdan Data 27 februarie 2015 13:58:54
Problema Fractii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:28:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",S); ^ user.cpp:12:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1256ms44700kbKilled by signal 11(SIGSEGV).0
24ms3032kbOk!10
3Depăşit63572kbTime limit exceeded.0
4256ms44700kbKilled by signal 11(SIGSEGV).0
5256ms44696kbKilled by signal 11(SIGSEGV).0
6256ms44696kbKilled by signal 11(SIGSEGV).0
7256ms44700kbKilled by signal 11(SIGSEGV).0
8256ms44700kbKilled by signal 11(SIGSEGV).0
9256ms44696kbKilled by signal 11(SIGSEGV).0
10252ms44696kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?