Borderou de evaluare (job #1979928)

Utilizator refugiatBoni Daniel Stefan refugiat Data 11 mai 2017 18:03:04
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:84:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(v+1,1005,si); ^ user.cpp:158:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(si,"%i",&n); ^ user.cpp: In function ‘int calc(int, int, int)’: user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int expresie()’: user.cpp:12:5: warning: ‘o2’ may be used uninitialized in this function [-Wmaybe-uninitialized] switch(o) ^ user.cpp:41:21: note: ‘o2’ was declared here int v1,v2,v3,o1,o2; ^ user.cpp: In function ‘int main()’: user.cpp:12:5: warning: ‘o2’ may be used uninitialized in this function [-Wmaybe-uninitialized] switch(o) ^ user.cpp:41:21: note: ‘o2’ was declared here int v1,v2,v3,o1,o2; ^ user.cpp:12:5: warning: ‘o2’ may be used uninitialized in this function [-Wmaybe-uninitialized] switch(o) ^ user.cpp:41:21: note: ‘o2’ was declared here int v1,v2,v3,o1,o2; ^ user.cpp:12:5: warning: ‘o2’ may be used uninitialized in this function [-Wmaybe-uninitialized] switch(o) ^ user.cpp:41:21: note: ‘o2’ was declared here int v1,v2,v3,o1,o2; ^ user.cpp:12:5: warning: ‘o2’ may be used uninitialized in this function [-Wmaybe-uninitialized] switch(o) ^ user.cpp:41:21: note: ‘o2’ was declared here int v1,v2,v3,o1,o2; ^ user.cpp:12:5: warning: ‘o2’ may be used uninitialized in this function [-Wmaybe-uninitialized] switch(o) ^ user.cpp:41:21: note: ‘o2’ was declared here int v1,v2,v3,o1,o2; ^ user.cpp:12:5: warning: ‘o2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
20ms444kbOK10
30ms436kbOK10
40ms444kbOK10
50ms440kbOK10
60ms448kbOK10
70ms440kbIncorect0
80ms440kbOK10
90ms448kbOK10
100ms444kbOK10
Punctaj total90

Ceva nu functioneaza?