Borderou de evaluare (job #2278350)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 7 noiembrie 2018 18:03:25
Problema Traffickers Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void ReadGraph()': main.cpp:64:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); graph.resize(n + 1); ^ main.cpp:66:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int u, v; scanf("%d%d", &u, &v); ^ main.cpp: In function 'void AddInitialTraffickers()': main.cpp:177:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int k; scanf("%d", &k); ^ main.cpp:180:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int u, v; scanf("%d%d", &u, &v); ^ main.cpp: In function 'void ProcessOperations()': main.cpp:214:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int q; scanf("%d", &q); ^ main.cpp:217:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int type, u, v; scanf("%d%d%d", &type, &u, &v); ^ main.cpp:224:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int t1, t2; scanf("%d%d", &t1, &t2); ^ main.cpp: In function 'int main()': main.cpp:233:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("trafickers.in","r",stdin); ^ main.cpp:234:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("trafickers.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
112ms131kbKilled by Signal 110
122ms131kbKilled by Signal 110
132ms131kbKilled by Signal 110
142ms131kbKilled by Signal 110
152ms131kbKilled by Signal 110
162ms131kbKilled by Signal 110
172ms131kbKilled by Signal 110
182ms131kbKilled by Signal 110
192ms131kbKilled by Signal 110
202ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?