Borderou de evaluare (job #2352319)

Utilizator StoianRaduStoian Radu StoianRadu Data 23 februarie 2019 11:05:17
Problema TollRoads Status done
Runda Info Oltenia 2019 Proba pe Echipe Clasele 11 - 12 Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int calc(int)': main.cpp:31:39: warning: no return statement in function returning non-void [-Wreturn-type] s.insert({dist[it.first],it.first});}}} ^ main.cpp: In function 'int main()': main.cpp:33:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tollroads.in","r",stdin); ^ main.cpp:34:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tollroads.out","w",stdout); ^ main.cpp:36:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&qu); ^ main.cpp:38:69: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&a,&b,&c),g[a].push_back({b,c}),g[b].push_back({a,c}); ^ main.cpp:40:68: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&q[i].x,&q[i].nr),f[q[i].x]=1,num[q[i].x].push_back(i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
142ms5373kbOK10
261ms5373kbOK10
32503ms8781kbTime limit exceeded0
42503ms9961kbTime limit exceeded0
52500ms11665kbTime limit exceeded0
62501ms14548kbTime limit exceeded0
72500ms15073kbTime limit exceeded0
82500ms15859kbTime limit exceeded0
92500ms15466kbTime limit exceeded0
1034ms5242kbOK10
Punctaj total30

Ceva nu functioneaza?