Pagini recente » Borderou de evaluare (job #1736671) | Borderou de evaluare (job #1574002) | Borderou de evaluare (job #1178161) | Borderou de evaluare (job #1763640) | Borderou de evaluare (job #2587030)
Borderou de evaluare (job #2587030)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:20: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'uint64_t* {aka long unsigned int*}' [-Wformat=]
scanf("%lld", &a1);
^
main.cpp:43:20: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'uint64_t* {aka long unsigned int*}' [-Wformat=]
scanf("%lld", &a2);
^
main.cpp:46:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=]
printf("%d \n",upper - lower);
^
main.cpp:18:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("asi.in", "r", stdin);
^
main.cpp:19:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("asi.out", "w", stdout);
^
main.cpp:39:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:42:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a1);
^
main.cpp:43:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a2);
^
main.cpp: In function 'uint64_t cautareBin(uint64_t, uint64_t, uint64_t)':
main.cpp:65:9: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
return poz;
^~~
main.cpp: In function 'int main()':
main.cpp:46:9: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d \n",upper - lower);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:46:9: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 65ms | 5234kb | Killed by Signal 11 | 0 | 0 |
2 | 66ms | 5234kb | Killed by Signal 11 | 0 | 0 |
3 | 68ms | 5365kb | OK | 5 | 15 |
4 | 63ms | 5234kb | OK | 5 |
5 | 67ms | 5234kb | OK | 5 |
6 | 104ms | 5234kb | Killed by Signal 11 | 0 | 0 |
7 | 179ms | 5234kb | OK | 5 |
8 | 175ms | 5234kb | OK | 5 |
9 | 192ms | 5361kb | OK | 5 | 20 |
10 | 215ms | 5361kb | OK | 5 |
11 | 197ms | 5361kb | OK | 5 |
12 | 219ms | 5361kb | OK | 5 |
13 | 226ms | 5492kb | OK | 5 | 40 |
14 | 239ms | 5492kb | OK | 5 |
15 | 259ms | 5492kb | OK | 5 |
16 | 245ms | 5492kb | OK | 5 |
17 | 259ms | 5492kb | OK | 5 |
18 | 254ms | 5492kb | OK | 5 |
19 | 238ms | 5492kb | OK | 5 |
20 | 252ms | 5492kb | OK | 5 |
Punctaj total | 75 |