Borderou de evaluare (job #595925)

Utilizator avatar Darius_C Chitu Darius Darius_C IP ascuns
Problemă Prime (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 12 apr. 2021 09:13:22 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void Solve()': main.cpp:30:12: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=] 30 | scanf("%lld %lld", &x, &N); | ~~~^ ~~ | | | | | int* | long long int* | %d main.cpp:30:17: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] 30 | scanf("%lld %lld", &x, &N); | ~~~^ ~~ | | | | | int* | long long int* | %d main.cpp:45:13: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=] 45 | printf("%lld \n", Prim[pos]); | ~~~^ ~~~~~~~~~ | | | | long long int int | %d main.cpp:30:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | scanf("%lld %lld", &x, &N); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:60:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | freopen("prime.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:61:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | freopen("prime.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 60 ms 1966 kb Killed by Signal 11 0
2 61 ms 1966 kb Killed by Signal 11 0
3 69 ms 2224 kb Killed by Signal 11 0
4 68 ms 2228 kb Killed by Signal 11 0
5 69 ms 2228 kb Killed by Signal 11 0
6 62 ms 1961 kb Killed by Signal 11 0
7 63 ms 2097 kb Killed by Signal 11 0
8 65 ms 2097 kb Killed by Signal 11 0
9 66 ms 2093 kb Killed by Signal 11 0
10 65 ms 2097 kb Killed by Signal 11 0
Punctaj total 0