Borderou de evaluare (job #2544305)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 11 februarie 2020 22:11:30
Problema Por Costel si Meciul Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("meciul.in", "r", stdin); ^ main.cpp:23:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("meciul.out", "w", stdout); ^ main.cpp:24: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:26: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:32:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int x, y; scanf("%d %d", &x, &y); ^ main.cpp: In function 'std::pair<int, int> getRoot(int)': main.cpp:13:18: warning: array subscript is above array bounds [-Warray-bounds] int vl = val[DIM]; ~~~~~~~^ main.cpp: In function 'int main()': main.cpp:13:18: warning: array subscript is above array bounds [-Warray-bounds] int vl = val[DIM]; ~~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1709ms4325kbIncorect0
Punctaj total0

Ceva nu functioneaza?