Borderou de evaluare (job #1371072)

Utilizator irimiecIrimie Catalin irimiec Data 3 martie 2015 19:00:35
Problema Biscuiti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:99:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘ll* {aka long long int*}’ [-Wformat=] fscanf(in, "%I64d", &x); ^ user.cpp:120:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ll {aka long long int}’ [-Wformat=] fprintf(out, "%d", sumNew - sumInit); ^ user.cpp:97:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:99:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%I64d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8256kbOK10
2144ms8212kbKilled by signal 11(SIGSEGV).0
320ms8256kbIncorect0
432ms8260kbIncorect0
5136ms8216kbKilled by signal 11(SIGSEGV).0
6140ms8220kbKilled by signal 11(SIGSEGV).0
7132ms8216kbKilled by signal 11(SIGSEGV).0
8140ms8212kbKilled by signal 11(SIGSEGV).0
9136ms8212kbKilled by signal 11(SIGSEGV).0
10152ms8216kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?