Borderou de evaluare (job #1355185)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 22 februarie 2015 14:51:33
Problema Pluricex Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10001]’ [-Wformat=] fscanf(fin, "%s", &v); ^ user.cpp:58:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d%d", &x, &y); ^ user.cpp:58:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:32:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &m); ^ user.cpp:34:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", &v); ^ user.cpp:56:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &k); ^ user.cpp:58:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms208kbKilled by signal 11(SIGSEGV).0
20ms208kbKilled by signal 11(SIGSEGV).0
30ms208kbKilled by signal 11(SIGSEGV).0
40ms216kbKilled by signal 11(SIGSEGV).0
50ms208kbKilled by signal 11(SIGSEGV).0
60ms208kbKilled by signal 11(SIGSEGV).0
70ms212kbKilled by signal 11(SIGSEGV).0
80ms212kbKilled by signal 11(SIGSEGV).0
90ms208kbKilled by signal 11(SIGSEGV).0
100ms208kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?