Borderou de evaluare (job #2039821)

Utilizator usureluflorianUsurelu Florian-Robert usureluflorian Data 14 octombrie 2017 23:18:19
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d",&n,&m,&s,&d); ^ user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:20:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&v[i][1],&v[i][2],&v[i][3]); ^ user.cpp:20:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:20:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:24:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&k); ^ user.cpp:27:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a); ^ user.cpp: In function ‘void solve()’: user.cpp:63:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<sol.size();++i) printf("%d ",sol[i]); ^ user.cpp: In function ‘int main()’: user.cpp:70:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp: In function ‘void read()’: user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&n,&m,&s,&d); ^ user.cpp:20:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&v[i][1],&v[i][2],&v[i][3]); ^ user.cpp:24:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^ user.cpp: In function ‘int main()’: user.cpp:68:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tempest.in","r",stdin); ^ user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tempest.out","w",stdout); ^ user.cpp:70:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms208kbFisier de iesire lipsa0
20ms208kbFisier de iesire lipsa0
30ms212kbFisier de iesire lipsa0
40ms208kbFisier de iesire lipsa0
50ms208kbFisier de iesire lipsa0
60ms212kbFisier de iesire lipsa0
70ms212kbFisier de iesire lipsa0
80ms216kbFisier de iesire lipsa0
90ms212kbFisier de iesire lipsa0
100ms212kbFisier de iesire lipsa0
Punctaj total0

Ceva nu functioneaza?