Pagini recente » Borderou de evaluare (job #2899788) | Borderou de evaluare (job #1427374) | Borderou de evaluare (job #2447434) | Borderou de evaluare (job #2230089) | Borderou de evaluare (job #2260589)
Borderou de evaluare (job #2260589)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:60: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
for (int i = 1; i <= m; i++) scanf("%d %d", &aa[i], &bb[i]);
^
main.cpp:36:60: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
main.cpp:21:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in", "r", stdin);
^
main.cpp:22:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out", "w", stdout);
^
main.cpp:24:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:31:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; i++) scanf("%d", &rmq[0][i]);
^
main.cpp:36:61: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= m; i++) scanf("%d %d", &aa[i], &bb[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 131kb | Incorect | 0 |
2 | 7ms | 131kb | Incorect | 0 |
3 | 523ms | 5136kb | Memory limit exceeded | 0 |
4 | 474ms | 5136kb | Memory limit exceeded | 0 |
5 | 1003ms | 1155kb | Time limit exceeded | 0 |
6 | 205ms | 1032kb | Incorect | 0 |
7 | 1003ms | 4689kb | Time limit exceeded | 0 |
8 | 1003ms | 4694kb | Time limit exceeded | 0 |
9 | 1002ms | 4694kb | Time limit exceeded | 0 |
10 | 1003ms | 4694kb | Time limit exceeded | 0 |
Punctaj total | 0 |