Borderou de evaluare (job #689219)

Utilizator avatar Ralucutza Popa Maya Ralucutza IP ascuns
Problemă Culegere (clasa a 5-a) Compilator c-32
Rundă Concurs 05 cursuri de performanță | IQ Academy | clasa a 6-a Status evaluat
Dată 21 ian. 2023 17:23:13 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 8 | fscanf( fin, "%d%lld", &p, &n); | ~^ ~~ | | | | int * long long int * | %lld main.c:30:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 30 | fprintf( fout, "%d", m); | ~^ ~ | | | | int long long int | %lld 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 110 kb 1. incorect; 2. OK 5
2 1 ms 114 kb 1. incorect; 2. OK 5
3 1 ms 114 kb 1. incorect; 2. OK 5
4 1 ms 114 kb 1. incorect; 2. OK 5
5 1 ms 114 kb 1. incorect; 2. OK 5
6 1 ms 114 kb 1. incorect; 2. OK 5
7 1 ms 114 kb 1. incorect; 2. OK 5
8 1 ms 114 kb 1. incorect; 2. OK 5
9 1 ms 114 kb 1. incorect; 2. OK 5
10 1 ms 110 kb 1. incorect; 2. OK 5
Punctaj total 50