Borderou de evaluare (job #2034343)

Utilizator xRoALexBirtoiu Alexandru xRoALex Data 7 octombrie 2017 18:48:23
Problema Reguli Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:23: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%lld",&n); ^ user.cpp:32:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%lld\n",n-pi[n-1]); ^ user.cpp:16:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&n); ^ user.cpp:17:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&v[0]); ^ user.cpp:20:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%lld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms840kbKilled by signal 11(SIGSEGV).0
244ms2196kbKilled by signal 11(SIGSEGV).0
368ms5760kbKilled by signal 11(SIGSEGV).0
4160ms9996kbKilled by signal 11(SIGSEGV).0
524ms1804kbKilled by signal 11(SIGSEGV).0
616ms1224kbKilled by signal 11(SIGSEGV).0
728ms2000kbKilled by signal 11(SIGSEGV).0
80ms336kbKilled by signal 11(SIGSEGV).0
90ms320kbKilled by signal 11(SIGSEGV).0
100ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?