Borderou de evaluare (job #819359)

Utilizator avatar DragonulCosmic Nerdvana 5 Calin Dragos Andrei DragonulCosmic IP ascuns
Problemă Culegere (clasa a 5-a) Compilator c-32
Rundă concursvirtual Status evaluat
Dată 8 apr. 2025 11:27:11 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:27:67: warning: integer overflow in expression of type 'int' results in '-489934592' [-Woverflow] 27 | if(probleme>99999999 && probleme>999999999) T = T + 900000000 * 9; | ^ main.c:30:29: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'double' [-Wformat=] 30 | fprintf(fout, "%lld\n%lld", T, sqrt(N * 2)); | ~~~^ ~~~~~~~~~~~ | | | | | double | long long int | %f main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin, "%d%lld", &P, &N); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb 1. OK; 2. incorect 5
2 1 ms 245 kb 1. OK; 2. incorect 5
3 1 ms 245 kb 1. OK; 2. incorect 5
4 1 ms 245 kb 1. OK; 2. incorect 5
5 1 ms 245 kb 1. OK; 2. incorect 5
6 1 ms 245 kb 1. OK; 2. incorect 5
7 1 ms 245 kb 1. OK; 2. incorect 5
8 2 ms 245 kb 1. OK; 2. incorect 5
9 2 ms 245 kb 1. OK; 2. incorect 5
10 1 ms 245 kb 1. OK; 2. incorect 5
Punctaj total 50