Borderou de evaluare (job #688337)

Utilizator avatar Ruslan Gaitur Ruslan Ruslan IP ascuns
Problemă Căutare1 (clasa a 5-a) Compilator cpp-32
Rundă lasm_18_01_2023_cl10 Status evaluat
Dată 18 ian. 2023 17:54:45 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:36: warning: NULL used in arithmetic [-Wpointer-arith] 25 | if (A[Dorel[i]] == NULL) { | ^~~~ main.cpp:32:31: warning: NULL used in arithmetic [-Wpointer-arith] 32 | cout << (a != NULL) * a << endl; | ^~~~ main.cpp:4:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 4 | freopen("cautare1.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:5:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 5 | freopen("cautare1.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 7 ms 110 kb OK 10
3 95 ms 217 kb OK 10
4 157 ms 335 kb Time limit exceeded 0
5 156 ms 344 kb Time limit exceeded 0
6 154 ms 491 kb Time limit exceeded 0
7 153 ms 643 kb Time limit exceeded 0
8 154 ms 638 kb Time limit exceeded 0
9 154 ms 638 kb Time limit exceeded 0
10 154 ms 643 kb Time limit exceeded 0
Punctaj total 30