Borderou de evaluare (job #2543301)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 11 februarie 2020 00:37:19
Problema Alegeri Status done
Runda Arhiva ICPC Compilator cpp-32 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("alegeri.in", "r", stdin); ^ main.cpp:20:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("alegeri.out", "w", stdout); ^ main.cpp:21:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int t; scanf("%d", &t); ^ main.cpp:23:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int n, m; scanf("%d %d", &n, &m); ^ main.cpp:27:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int v; scanf("%d", &v); ^ main.cpp:29:55: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &edg[i].x, &edg[i].y), edg[i].c = 0; ^ main.cpp:31:55: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &edg[i].x, &edg[i].y, &edg[i].c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1638ms2490kbOK100
Punctaj total100

Ceva nu functioneaza?