Borderou de evaluare (job #1478666)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 29 august 2015 10:57:37
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:19:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(!('0'<=buff[pos]&&buff[pos]<='9')) add(); ^ user.cpp:19:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(!('0'<=buff[pos]&&buff[pos]<='9')) add(); ^ user.cpp:20:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] while('0'<=buff[pos]&&buff[pos]<='9') ^ user.cpp:20:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] while('0'<=buff[pos]&&buff[pos]<='9') ^ user.cpp:23:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr+=buff[pos]-'0'; ^ user.cpp: In function ‘void readtill(int)’: user.cpp:36:6: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] int tmp; ^ user.cpp: In function ‘void add()’: user.cpp:13: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 ‘void readtill(int)’: 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: In function ‘int main()’: user.cpp:46: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:47: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ăşit208kbTime limit exceeded.0
32388ms216kbIncorect0
48ms224kbIncorect0
584ms220kbIncorect0
632ms220kbIncorect0
756ms220kbIncorect0
8Depăşit212kbTime limit exceeded.0
9332ms220kbIncorect0
10Depăşit220kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?