Borderou de evaluare (job #1734953)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 28 iulie 2016 16:22:24
Problema Dragoni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:22:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &p); ^ user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &n, &m); ^ user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:29:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &tmp1); ^ user.cpp:35:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d %d", &tmp1, &tmp2, &tmp3); ^ user.cpp:35:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:35:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void solve1()’: user.cpp:91:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", tipuriDragoni[posMax]); ^ user.cpp: In function ‘void solve2()’: user.cpp:120:23: warning: unused variable ‘tmp1’ [-Wunused-variable] long long tmp1 = dist[dragon][vecini[insula][i].second]; ^ user.cpp:121:23: warning: unused variable ‘tmp2’ [-Wunused-variable] long long tmp2 = dist[dragon][insula]; ^ user.cpp:122:23: warning: unused variable ‘tmp3’ [-Wunused-variable] long long tmp3 = vecini[insula][i].first; ^ user.cpp:151:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", sol); ^ user.cpp: In function ‘void citire()’: user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p); ^ user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tmp1); ^ user.cpp:35:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &tmp1, &tmp2, &tmp3); ^ user.cpp: In function ‘int main()’: user.cpp:156:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dragoni.in", "r", stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms352kbRaspuns gresit!0
2Depăşit7004kbTime limit exceeded.0
388ms1320kbRaspuns gresit!0
40ms340kbRaspuns gresit!0
50ms348kbRaspuns gresit!0
60ms368kbRaspuns gresit!0
716ms648kbRaspuns gresit!0
88ms576kbRaspuns gresit!0
9164ms1848kbRaspuns gresit!0
104ms604kbRaspuns gresit!0
114ms5416kbRaspuns gresit!0
124ms5416kbRaspuns gresit!0
134ms5424kbRaspuns gresit!0
148ms5440kbRaspuns gresit!0
158ms5444kbRaspuns gresit!0
168ms5456kbRaspuns gresit!0
178ms5616kbRaspuns gresit!0
1812ms5636kbRaspuns gresit!0
1912ms5696kbRaspuns gresit!0
2012ms5556kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?