Borderou de evaluare (job #1495431)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 3 octombrie 2015 02:29:41
Problema Proc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void citeste(int&)’: user.cpp:11:96: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] while (buff[poz] < '0' || buff[poz] > '9') if (++poz == DIM) fread(buff,1,DIM,stdin),poz=0; ^ user.cpp:15:58: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] if (++poz == DIM) fread(buff,1,DIM,stdin),poz=0; ^ user.cpp: In function ‘int main()’: user.cpp:59:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("proc2.in","r",stdin); ^ user.cpp:60:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("proc2.out","w",stdout); ^ user.cpp:69:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&s,&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms260kbOK10
38ms280kbOK10
4Depăşit740kbTime limit exceeded.0
5Depăşit848kbTime limit exceeded.0
6Depăşit944kbTime limit exceeded.0
7Depăşit1076kbTime limit exceeded.0
8Depăşit1188kbTime limit exceeded.0
9Depăşit1412kbTime limit exceeded.0
10Depăşit1516kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?