Borderou de evaluare (job #1737348)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 3 august 2016 20:17:26
Problema Expr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:146:23: warning: NULL used in arithmetic [-Wpointer-arith] while(s[pointer]!=NULL){ ^ user.cpp:147:27: warning: NULL used in arithmetic [-Wpointer-arith] while(s[pointer]!=NULL&&!IsDigit(s[pointer])) ^ user.cpp:149:24: warning: NULL used in arithmetic [-Wpointer-arith] if(s[pointer]!=NULL){ ^ user.cpp:150:31: warning: NULL used in arithmetic [-Wpointer-arith] while(s[pointer]!=NULL&&IsDigit(s[pointer])){ ^ user.cpp: In function ‘int FindPosition(int)’: user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:143:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expr.in","r",stdin); ^ user.cpp:144:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expr.out","w",stdout); ^ user.cpp:145:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms296kbOK10
30ms272kbOK10
40ms356kbOK10
50ms352kbOK10
60ms324kbOK10
70ms408kbOK10
80ms308kbOK10
912ms1320kbOK10
104ms956kbOK10
Punctaj total100

Ceva nu functioneaza?