Pagini recente » Borderou de evaluare (job #308215) | Borderou de evaluare (job #3169386) | Borderou de evaluare (job #2975211) | Borderou de evaluare (job #1115332) | Borderou de evaluare (job #2361823)
Borderou de evaluare (job #2361823)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%d", &updateval);
^
main.cpp: In function 'Node Query(int, int, int)':
main.cpp:4:18: warning: overflow in implicit constant conversion [-Woverflow]
#define INF (1LL << 60)
~~~~~^~~~~~
main.cpp:145:30: note: in expansion of macro 'INF'
a.val = INF, a.poz = INF, b.val = INF, b.poz = INF;
^~~
main.cpp:4:18: warning: overflow in implicit constant conversion [-Woverflow]
#define INF (1LL << 60)
~~~~~^~~~~~
main.cpp:145:56: note: in expansion of macro 'INF'
a.val = INF, a.poz = INF, b.val = INF, b.poz = INF;
^~~
main.cpp: In function 'int main()':
main.cpp:37:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
main.cpp:43:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &updateval);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 19267kb | OK | 10 |
2 | 218ms | 19267kb | OK | 10 |
3 | 37ms | 19267kb | OK | 10 |
4 | 52ms | 19267kb | OK | 10 |
5 | 203ms | 19267kb | OK | 10 |
6 | 204ms | 19267kb | OK | 10 |
7 | 197ms | 19398kb | OK | 10 |
8 | 186ms | 19267kb | OK | 10 |
9 | 188ms | 19267kb | OK | 10 |
10 | 220ms | 19267kb | OK | 10 |
Punctaj total | 100 |