Borderou de evaluare (job #2744284)

Utilizator maldino200Ancdreea maldino200 Data 24 aprilie 2021 11:44:33
Problema Loto2 Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] fscanf(fp, "%d", s); ^ main.cpp:18:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] fscanf(fp, "%d", m); ^ main.cpp:10:6: warning: unused variable 'n' [-Wunused-variable] int n, nr, maximum=0, winningValue = -1; ^ main.cpp:10:9: warning: unused variable 'nr' [-Wunused-variable] int n, nr, maximum=0, winningValue = -1; ^~ main.cpp:14:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", s); ^ main.cpp:18:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", m); ^ main.cpp:14:21: warning: 's' is used uninitialized in this function [-Wuninitialized] fscanf(fp, "%d", s); ^ main.cpp:17:7: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] int m; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
43ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?