Borderou de evaluare (job #2212942)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 15 iunie 2018 13:13:20
Problema Struti Status done
Runda Teme Pregatire ACM Unibuc 2013 Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for ( int i = 1; i <= n; ++i) ^~~ user.cpp:22:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ int x,y; ^~~ user.cpp: In function ‘void Get(int&)’: user.cpp:137:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (; s[u] < '0' || s[u] > '9'; Next()); ^~~ user.cpp:138:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if ( s[u-1] == '-') ^~ user.cpp: In function ‘int main()’: user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("struti.in","r",stdin); ^ user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("struti.out","w",stdout); ^ user.cpp: In function ‘void Next()’: user.cpp:132:44: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] std::fread(s, 1, Lim, stdin), u = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms7208kbOK10
232ms8064kbOK10
396ms9332kbOK10
4572ms13668kbOK10
5856ms17576kbOK10
6Depăşit25288kbTime limit exceeded.0
7Depăşit25288kbTime limit exceeded.0
8872ms10584kbOK10
9876ms17668kbOK10
101460ms25284kbOK10
Punctaj total80

Ceva nu functioneaza?