Borderou de evaluare (job #1828774)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 13 decembrie 2016 21:06: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:70:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(IN,"%d",&N); ^ user.cpp:73: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:70: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:73: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ăşit336kbTime limit exceeded.0
20ms312kbKilled by signal 11(SIGSEGV).0
3Depăşit312kbTime limit exceeded.0
4Depăşit316kbTime limit exceeded.0
58ms324kbKilled by signal 11(SIGSEGV).0
6Depăşit320kbTime limit exceeded.0
7Depăşit332kbTime limit exceeded.0
8108ms332kbKilled by signal 11(SIGSEGV).0
968ms332kbKilled by signal 11(SIGSEGV).0
10Depăşit340kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?