Borderou de evaluare (job #800654)

Utilizator avatar NICO_ Gavris Nicolae NICO_ IP ascuns
Problemă Imprimanta (clasa a 6-a) Compilator c-32
Rundă Christmas Gift Status evaluat
Dată 23 dec. 2024 11:45:05 Scor 90

Raport evaluator

Compilare: main.c:4:39: warning: excess elements in array initializer 4 | int v[9]={12,5,11,11,9,11,12,7,13,12}; | ^~ main.c:4:39: note: (near initialization for 'v') main.c: In function 'main': main.c:29:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 29 | printf("%d %d",x,rest); | ~^ ~ | | | | int long long int | %lld main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin ,"%lld%d",&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:60:5: /usr/include/bits/stdio2.h:111:10: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:9:17: note: 'nr' was declared here 9 | long long n,nr,x; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 29 ms 352 kb OK 10
4 1 ms 245 kb OK 10
5 2 ms 241 kb OK 10
6 1 ms 241 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 241 kb OK 10
9 1 ms 241 kb OK 10
10 2 ms 241 kb OK 10
Penalizare: 10% (pentru 2 submisie/ii) 10%
Punctaj total 90