Pagini recente » Borderou de evaluare (job #1775959) | Borderou de evaluare (job #357815) | Borderou de evaluare (job #1303459) | Borderou de evaluare (job #3213812) | Borderou de evaluare (job #2544306)
Borderou de evaluare (job #2544306)
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 |
1 | 718ms | 4325kb | Incorect | 0 |
Punctaj total | 0 |