Borderou de evaluare (job #2655937)

Utilizator marinaoprOprea Marina marinaopr Data 6 octombrie 2020 09:27:59
Problema Ciclu Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool bellman(long long int)': main.cpp:44:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<graf[nod].size() and ok; ++i) ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:76:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%d%d", &n,&m); ^ main.cpp:76:30: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:79:72: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=] fscanf(fin, "%d%d%d", &muchii[i].x,&muchii[i].y,&muchii[i].cost); ^ main.cpp:76:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n,&m); ^ main.cpp:79:73: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &muchii[i].x,&muchii[i].y,&muchii[i].cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbBelea !10
23ms131kbBelea !10
33ms131kbBelea !10
47ms131kbBelea !10
534ms262kbBelea !10
649ms262kbBelea !10
786ms262kbBelea !10
8228ms262kbBelea !10
932ms262kbBelea !10
10589ms262kbBelea !10
Punctaj total100

Ceva nu functioneaza?