Borderou de evaluare (job #611157)

Utilizator avatar Sasha_Grey Sasha Grey Sasha_Grey IP ascuns
Problemă Sir (clasa a 9-a) Compilator cpp-32
Rundă lasm_19_10_2021_clasa12 Status evaluat
Dată 19 oct. 2021 14:42:37 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:71:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] 71 | scanf("%I64d %I64d %I64d",&a,&b,&c); | ~~~~^ ~~ | | | | int* long long int* | %I64lld main.cpp:71:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 71 | scanf("%I64d %I64d %I64d",&a,&b,&c); | ~~~~^ ~~ | | | | int* long long int* | %I64lld main.cpp:71:28: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] 71 | scanf("%I64d %I64d %I64d",&a,&b,&c); | ~~~~^ ~~ | | | | int* long long int* | %I64lld main.cpp:69:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | freopen("sir.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:70:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | freopen("sir.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:71:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | scanf("%I64d %I64d %I64d",&a,&b,&c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Raspuns corect 10
2 1 ms 131 kb Raspuns corect 10
3 1 ms 131 kb Raspuns corect 10
4 1 ms 131 kb Raspuns corect 10
5 1 ms 131 kb Raspuns corect 10
6 1 ms 131 kb Raspuns corect 10
7 1 ms 131 kb Raspuns corect 10
8 1 ms 131 kb Raspuns corect 10
9 1 ms 131 kb Raspuns corect 10
10 1 ms 131 kb Raspuns corect 10
Punctaj total 100