Borderou de evaluare (job #756766)

Utilizator avatar MihaiDraghici MIHAI DRAGHICI MihaiDraghici IP ascuns
Problemă Test (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 ian. 2024 20:28:56 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:35: warning: 'n1' may be used uninitialized [-Wmaybe-uninitialized] 36 | fout << (n1 > n2 ? n1 : n2); | ^ main.cpp:10:25: note: 'n1' was declared here 10 | int a, b, cbp, cbu, n1, n2, maxPrime = 0; | ^~ main.cpp:36:35: warning: 'n2' may be used uninitialized [-Wmaybe-uninitialized] 36 | fout << (n1 > n2 ? n1 : n2); | ^ main.cpp:10:29: note: 'n2' was declared here 10 | int a, b, cbp, cbu, n1, n2, maxPrime = 0; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb OK 10
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 30