Borderou de evaluare (job #728355)

Utilizator avatar tileadavid Tilea David tileadavid IP ascuns
Problemă Căutare1 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 aug. 2023 13:51:12 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=] 30 | printf("%d\n", &poz[v2[i]]); | ~^ ~~~~~~~~~~~ | | | | int int* | %n main.cpp:13:9: warning: unused variable 'n' [-Wunused-variable] 13 | int n, a, b; | ^ main.cpp:14:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | scanf("%d %d", &a, &b); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:17:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | scanf("%d", &v1[i]); | ~~~~~^~~~~~~~~~~~~~ main.cpp:21:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | scanf("%d", &v2[i]); | ~~~~~^~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 159 ms 249 kb Time limit exceeded 0
2 159 ms 249 kb Time limit exceeded 0
3 159 ms 249 kb Time limit exceeded 0
4 159 ms 249 kb Time limit exceeded 0
5 159 ms 249 kb Time limit exceeded 0
6 159 ms 249 kb Time limit exceeded 0
7 159 ms 249 kb Time limit exceeded 0
8 159 ms 249 kb Time limit exceeded 0
9 159 ms 249 kb Time limit exceeded 0
10 159 ms 249 kb Time limit exceeded 0
Punctaj total 0