Borderou de evaluare (job #582585)

Utilizator avatar andrei_marciuc Marciuc Andrei andrei_marciuc IP ascuns
Problemă 235 (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 feb. 2021 19:50:39 Scor 0

Raport evaluator

Compilare: main.cpp:9:5: warning: built-in function 'pow' declared as non-function [-Wbuiltin-declaration-mismatch] 9 | int pow[ NO_POW ]; | ^~~ main.cpp: In function 'short int ok(int)': main.cpp:43:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 43 | if( pow[ sol ] == val ) | ^ main.cpp: In function 'int main()': main.cpp:61:19: warning: operation on 'poz' may be undefined [-Wsequence-point] 61 | s[ poz++ ] = x + s[ poz - DELTA ]; | ~~~^~ main.cpp:61:19: warning: operation on 'poz' may be undefined [-Wsequence-point] main.cpp:55:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 55 | fscanf( fin, "%d", &n ); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:59:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 59 | fscanf( fin, "%d", &x ); | ~~~~~~^~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb Incorect 0
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb Incorect 0
5 38 ms 393 kb Incorect 0
6 47 ms 389 kb Incorect 0
7 29 ms 393 kb Incorect 0
8 156 ms 393 kb Incorect 0
9 218 ms 393 kb Incorect 0
10 222 ms 520 kb Incorect 0
Punctaj total 0