Borderou de evaluare (job #2816911)

Utilizator LicaMihaiIonutLica Mihai- Ionut LicaMihaiIonut Data 12 decembrie 2021 14:31:12
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:19: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] 14 | fscanf(fin,"%ld",&t); | ~~^ ~~ | | | | | long long int* | long int* | %lld main.cpp:17:19: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] 17 | fscanf(fin,"%ld%ld%ld%ld%ld%ld%ld",&x,&y,&z,&a,&b,&c,&n); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:17:22: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=] 17 | fscanf(fin,"%ld%ld%ld%ld%ld%ld%ld",&x,&y,&z,&a,&b,&c,&n); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:17:25: warning: format '%ld' expects argument of type 'long int*', but argument 5 has type 'long long int*' [-Wformat=] 17 | fscanf(fin,"%ld%ld%ld%ld%ld%ld%ld",&x,&y,&z,&a,&b,&c,&n); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:17:28: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'long long int*' [-Wformat=] 17 | fscanf(fin,"%ld%ld%ld%ld%ld%ld%ld",&x,&y,&z,&a,&b,&c,&n); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:17:31: warning: format '%ld' expects argument of type 'long int*', but argument 7 has type 'long long int*' [-Wformat=] 17 | fscanf(fin,"%ld%ld%ld%ld%ld%ld%ld",&x,&y,&z,&a,&b,&c,&n); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:17:34: warning: format '%ld' expects argument of type 'long int*', but argument 8 has type 'long long int*' [-Wformat=] 17 | fscanf(fin,"%ld%ld%ld%ld%ld%ld%ld",&x,&y,&z,&a,&b,&c,&n); | ~~^ ~~ | | | | long int* long long int* | %lld main.cpp:17:37: warning: format '%ld' expects argument of type 'long int*', but argument 9 has type 'long long int*' [-Wformat=] 17 | fscanf(fin,"%ld%ld%ld%ld%ld%ld%ld",&x,&y,&z,&a,&b,&c,&n); | ~~^ ~~ | | | | long int* long long int* | %lld
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOk!10
22ms184kbOk!10
32ms184kbOk!10
42ms184kbOk!10
52ms184kbOk!10
62ms184kbOk!10
72ms184kbOk!10
82ms184kbOk!10
92ms184kbOk!10
102ms184kbOk!10
Punctaj total100

Ceva nu functioneaza?