Borderou de evaluare (job #1429008)

Utilizator GinguIonutGinguIonut GinguIonut Data 5 mai 2015 15:12:21
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin,"%u%u",&n,&k1); ^ user.cpp:50:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:54:32: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin,"%u%u",&a,&b); ^ user.cpp:54:32: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:50:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%u%u",&n,&k1); ^ user.cpp:54:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%u%u",&a,&b); ^ user.cpp: In function ‘std::vector<short int>::iterator find_value(short int)’: user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms372kbIncorect0
20ms376kbOK5
30ms376kbOK5
40ms380kbIncorect0
50ms376kbIncorect0
60ms384kbIncorect0
70ms388kbIncorect0
80ms404kbOK5
90ms404kbIncorect0
100ms404kbIncorect0
110ms428kbOK5
124ms428kbIncorect0
134ms492kbKilled by signal 11(SIGSEGV).0
144ms488kbKilled by signal 11(SIGSEGV).0
154ms456kbIncorect0
164ms492kbKilled by signal 11(SIGSEGV).0
1712ms476kbIncorect0
188ms508kbKilled by signal 11(SIGSEGV).0
1920ms516kbKilled by signal 11(SIGSEGV).0
2060ms612kbIncorect0
Punctaj total20

Ceva nu functioneaza?