Borderou de evaluare (job #2655936)

Utilizator marinaoprOprea Marina marinaopr Data 6 octombrie 2020 09:24:24
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:43: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:75: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:75:30: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:78: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:75: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:78: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
49ms131kbBelea !10
569ms262kbBelea !10
626ms262kbBelea !10
760ms262kbBelea !10
8297ms344kbBelea !10
927ms262kbBelea !10
10597ms262kbBelea !10
Punctaj total100

Ceva nu functioneaza?