Borderou de evaluare (job #1392198)

Utilizator BaweeLazar Vlad Bawee Data 18 martie 2015 14:06:45
Problema Rascoala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘bool cmp(pimp, pimp)’: user.cpp:18:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(u.n==w.n) ^ user.cpp: In function ‘int main()’: user.cpp:30:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long unsigned int*’ [-Wformat=] fscanf(f,"%d%d%d",&n,&m,&k); ^ user.cpp:85:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1;i<=k;i++) ^ user.cpp:29:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&p); ^ user.cpp:30:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&n,&m,&k); ^ user.cpp:35:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[c].n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
152ms1228kbOK5
252ms1236kbOK5
388ms1708kbOK5
484ms1716kbOK5
5Depăşit3172kbTime limit exceeded.0
6Depăşit3164kbTime limit exceeded.0
7Depăşit3168kbTime limit exceeded.0
8Depăşit3184kbTime limit exceeded.0
9Depăşit3172kbTime limit exceeded.0
10Depăşit3168kbTime limit exceeded.0
1192ms3188kbOK5
1292ms3188kbOK5
13Depăşit3168kbTime limit exceeded.0
14Depăşit3168kbTime limit exceeded.0
15168ms3188kbOK5
16168ms3192kbIncorect0
17168ms3184kbOK5
18168ms3192kbOK5
19Depăşit3168kbTime limit exceeded.0
20Depăşit3172kbTime limit exceeded.0
Punctaj total45

Ceva nu functioneaza?