Borderou de evaluare (job #2477845)

Utilizator ialexia_ioanaAlexia Ichim ialexia_ioana Data 21 octombrie 2019 10:47:48
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void sortare_topologica()': main.cpp:29:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<g[a].size(); i++) ~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:42:15: warning: unused variable 'cc' [-Wunused-variable] int u, v, cc, i; ^~ main.cpp:40:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.in", "r", stdin); ^ main.cpp:41:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.out", "w", stdout); ^ main.cpp:43:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:46:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
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
Punctaj total30

Ceva nu functioneaza?