Borderou de evaluare (job #2471759)

Utilizator PaulOrasanPaul Orasan PaulOrasan Data 11 octombrie 2019 13:43:54
Problema Curcubeu Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void citire()': main.cpp:15:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=] fscanf(fin,"%d",&a[1]); ^ main.cpp:16:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=] fscanf(fin,"%d",&b[1]); ^ main.cpp:17:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=] fscanf(fin,"%d",&c[1]); ^ main.cpp: In function 'void afisare(int*)': main.cpp:51:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int*' [-Wformat=] fprintf(fout,"%d",&v[i]); ^ main.cpp: In function 'void citire()': main.cpp:14:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ main.cpp:15:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&a[1]); ^ main.cpp:16:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&b[1]); ^ main.cpp:17:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&c[1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 1100
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 1100
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 1100
102ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?