Borderou de evaluare (job #2212943)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 15 iunie 2018 13:13:56
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
18ms7208kbOK10
232ms7960kbOK10
396ms9248kbOK10
4568ms13468kbOK10
5852ms17376kbOK10
6Depăşit25604kbTime limit exceeded.0
7Depăşit25188kbTime limit exceeded.0
8876ms10592kbOK10
9872ms17480kbOK10
101464ms25184kbOK10
Punctaj total80

Ceva nu functioneaza?