Borderou de evaluare (job #1570362)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 16 ianuarie 2016 14:11:54
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d", &prieten[i]); ^ user.cpp: In function ‘int dijkstra(int, int)’: user.cpp:94:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < Time[x].size(); ++i) { ^ user.cpp: In function ‘int main()’: user.cpp:37:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &K); ^ user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &prieten[i]); ^ user.cpp:42:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:44:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &a, &b, &c, &d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms724kbOK10
256ms692kbOK10
34ms684kbOK10
4Depăşit680kbTime limit exceeded.0
5Depăşit656kbTime limit exceeded.0
6Depăşit664kbTime limit exceeded.0
7Depăşit640kbTime limit exceeded.0
852ms708kbOK10
90ms664kbOK10
10Depăşit652kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?