Borderou de evaluare (job #1570375)

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

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:98:33: 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
10ms768kbOK10
236ms924kbOK10
30ms740kbOK10
4Depăşit816kbTime limit exceeded.0
5Depăşit932kbTime limit exceeded.0
6Depăşit916kbTime limit exceeded.0
7Depăşit812kbTime limit exceeded.0
80ms744kbOK10
90ms712kbOK10
1012ms756kbOK10
Punctaj total60

Ceva nu functioneaza?