Borderou de evaluare (job #690558)

Utilizator avatar trofim_ion Trofim Ion trofim_ion IP ascuns
Problemă Placa (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 26 ian. 2023 21:03:30 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 41 | for(int i = 0; i < v.size()-1; i++) { | ~~^~~~~~~~~~~~ main.cpp:14:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | freopen("placa.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:15:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | freopen("placa.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb OK 10
2 1 ms 110 kb OK 10
3 16 ms 643 kb OK 10
4 1 ms 110 kb OK 10
5 31 ms 1163 kb Killed by Signal 11 0
6 48 ms 1683 kb a) linie incorecta; b) linie incorecta 0
7 56 ms 1679 kb Killed by Signal 11 0
8 23 ms 512 kb Killed by Signal 11 0
9 21 ms 512 kb Killed by Signal 11 0
10 21 ms 512 kb Killed by Signal 11 0
Punctaj total 40