Borderou de evaluare (job #1495080)

Utilizator akaprosAna Kapros akapros Data 2 octombrie 2015 15:48:23
Problema Gard2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘void write()’: user.cpp:79:59: warning: repeated '0' flag in format [-Wformat=] else if (sol[i] < 10000) printf("%00000lld",sol[i]); ^ user.cpp:79:59: warning: repeated '0' flag in format [-Wformat=] user.cpp:79:59: warning: repeated '0' flag in format [-Wformat=] user.cpp:79:59: warning: repeated '0' flag in format [-Wformat=] user.cpp:80:59: warning: repeated '0' flag in format [-Wformat=] else if (sol[i] < 100000) printf("%0000lld",sol[i]); ^ user.cpp:80:59: warning: repeated '0' flag in format [-Wformat=] user.cpp:80:59: warning: repeated '0' flag in format [-Wformat=] user.cpp:81:59: warning: repeated '0' flag in format [-Wformat=] else if (sol[i] < 1000000) printf("%000lld",sol[i]); ^ user.cpp:81:59: warning: repeated '0' flag in format [-Wformat=] user.cpp:82:59: warning: repeated '0' flag in format [-Wformat=] else if (sol[i] < 10000000) printf("%00lld",sol[i]); ^ user.cpp:84:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long long int*’ [-Wformat=] else printf("%lld", sol); ^ user.cpp: In function ‘void read()’: user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gard2.in","r", stdin); ^ user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.cpp: In function ‘void write()’: user.cpp:68:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gard2.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms560kbOK5
20ms648kbOK5
34ms744kbOK5
44ms852kbOK5
54ms968kbOK5
620ms1940kbIncorect0
716ms2368kbIncorect0
844ms3092kbIncorect0
940ms4212kbIncorect0
10Depăşit5168kbTime limit exceeded.0
1144ms7048kbIncorect0
12Depăşit6996kbTime limit exceeded.0
13Depăşit7584kbTime limit exceeded.0
14Depăşit8320kbTime limit exceeded.0
15Depăşit8872kbTime limit exceeded.0
16Depăşit15016kbTime limit exceeded.0
17Depăşit15588kbTime limit exceeded.0
18Depăşit9564kbTime limit exceeded.0
19Depăşit9584kbTime limit exceeded.0
20Depăşit9552kbTime limit exceeded.0
Punctaj total25

Ceva nu functioneaza?