Borderou de evaluare (job #796837)

Utilizator avatar deniscorman Corman Denis deniscorman IP ascuns
Problemă Fraza (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 nov. 2024 21:41:44 Scor 85

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:23:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 23 | while(cin>>a) | ^~~~~ main.cpp:25:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 25 | for (string& it : C) | ^~~ main.cpp:8:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 8 | #define forn(i,n) for(int i=0; i<(n); ++i) | ^ main.cpp:28:7: note: in expansion of macro 'forn' 28 | forn(i, C.size()) | ^~~~ main.cpp:31:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | while(l >= 0 && r < C.size() && C[l] == C[r]) | ~~^~~~~~~~~~ main.cpp:42:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 42 | while(l >= 0 && r < C.size() && C[l] == C[r]) | ~~^~~~~~~~~~ main.cpp: In function 'int32_t main()': main.cpp:58:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | freopen("fraza.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:59:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | freopen("fraza.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 507 kb OK 5
3 1 ms 266 kb OK 5
4 79 ms 700 kb OK 5
5 2208 ms 1290 kb Time limit exceeded 0
6 1 ms 512 kb OK 5
7 2209 ms 3530 kb Time limit exceeded 0
8 9 ms 507 kb OK 5
9 1389 ms 1957 kb OK 5
10 29 ms 528 kb OK 5
11 69 ms 528 kb OK 5
12 1689 ms 1294 kb OK 5
13 2099 ms 1961 kb OK 5
14 19 ms 503 kb OK 5
15 119 ms 774 kb OK 5
16 99 ms 708 kb OK 5
17 19 ms 507 kb OK 5
18 39 ms 512 kb OK 5
19 939 ms 3526 kb OK 5
20 2209 ms 3772 kb Time limit exceeded 0
Punctaj total 85