Borderou de evaluare (job #1828773)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 13 decembrie 2016 21:04:33
Problema Croco Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:72:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(IN,"%d",&N); ^ user.cpp:75:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(IN,"%d",&cap[i][j]),S+=cap[i][j]; ^ user.cpp:72:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d",&N); ^ user.cpp:75:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d",&cap[i][j]),S+=cap[i][j]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit324kbTime limit exceeded.0
20ms308kbKilled by signal 11(SIGSEGV).0
3Depăşit308kbTime limit exceeded.0
4Depăşit308kbTime limit exceeded.0
58ms312kbKilled by signal 11(SIGSEGV).0
6Depăşit316kbTime limit exceeded.0
7Depăşit320kbTime limit exceeded.0
8108ms324kbKilled by signal 11(SIGSEGV).0
968ms324kbKilled by signal 11(SIGSEGV).0
10Depăşit332kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?