Borderou de evaluare (job #1428052)

Utilizator darkseekerBoaca Cosmin darkseeker Data 3 mai 2015 16:13:11
Problema Transport2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void cit(int&)’: user.cpp:20:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] while (lin[poz]<'0' || lin[poz]>'9'){ ^ user.cpp:20:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] while (lin[poz]<'0' || lin[poz]>'9'){ ^ user.cpp:24:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] while (lin[poz]>='0' && lin[poz]<='9'){ ^ user.cpp:24:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] while (lin[poz]>='0' && lin[poz]<='9'){ ^ user.cpp:25:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] x = 10*x+lin[poz++]-'0'; ^ user.cpp: In function ‘int main()’: user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("transport2.in", "r", stdin); ^ user.cpp: In function ‘void cit(int&)’: user.cpp:22:59: 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(lin, 1, Dim, stdin), poz=0; ^ user.cpp:26:57: 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(lin, 1, Dim, stdin), poz=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1124kbTime limit exceeded.0
2Depăşit1124kbTime limit exceeded.0
3Depăşit1128kbTime limit exceeded.0
4Depăşit1124kbTime limit exceeded.0
5Depăşit1128kbTime limit exceeded.0
6Depăşit1128kbTime limit exceeded.0
7Depăşit1128kbTime limit exceeded.0
8Depăşit1124kbTime limit exceeded.0
9Depăşit1128kbTime limit exceeded.0
10Depăşit1124kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?