Borderou de evaluare (job #1846603)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 13 ianuarie 2017 17:02:51
Problema Knumere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘bool ok(int)’: user.cpp:19:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(S.size()<=k) {k-=S.size();S.clear();} ^ user.cpp: In function ‘int main()’: user.cpp:43:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d",st); ^ user.cpp:28:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&N,&K); ^ user.cpp:30:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&V[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms280kbOK10
30ms272kbOK10
40ms280kbOK10
54ms340kbOK10
660ms956kbOK10
728ms604kbOK10
8264ms2796kbOK10
9Depăşit4552kbTime limit exceeded.0
10Depăşit4172kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?