Borderou de evaluare (job #1478670)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 29 august 2015 11:07:58
Problema Avarcolaci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int citeste()’: user.cpp:20:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(!('0'<=buff[pos]&&buff[pos]<='9')) add(); ^ user.cpp:20:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(!('0'<=buff[pos]&&buff[pos]<='9')) add(); ^ user.cpp:21:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] while('0'<=buff[pos]&&buff[pos]<='9') ^ user.cpp:21:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] while('0'<=buff[pos]&&buff[pos]<='9') ^ user.cpp:24:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr+=buff[pos]-'0'; ^ user.cpp: In function ‘int main()’: user.cpp:69:7: warning: unused variable ‘posib1’ [-Wunused-variable] int posib1=0,ct1=1; ^ user.cpp:69:16: warning: unused variable ‘ct1’ [-Wunused-variable] int posib1=0,ct1=1; ^ user.cpp: In function ‘void add()’: user.cpp:14:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,DIM,fin); ^ user.cpp: In function ‘int main()’: user.cpp:32:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("avarcolaci.out","w",stdout); ^ user.cpp:33:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,DIM,fin); ^ user.cpp:63:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,DIM,fin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK10
2Depăşit200kbTime limit exceeded.0
32140ms220kbIncorect0
44ms220kbIncorect0
520ms216kbIncorect0
6Depăşit208kbTime limit exceeded.0
78ms216kbIncorect0
8Depăşit208kbTime limit exceeded.0
952ms216kbIncorect0
10Depăşit204kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?