Pagini recente » Borderou de evaluare (job #2692420) | Borderou de evaluare (job #3116950) | Borderou de evaluare (job #3116891) | Borderou de evaluare (job #2735496) | Borderou de evaluare (job #3313975)
Borderou de evaluare (job #3313975)
Raport evaluator
Compilare:
main.cpp: In function 'int canFill(long long unsigned int)':
main.cpp:18:34: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
18 | while(i <= n && water[i] >= capacity[i]){
| ~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:21:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
21 | printf("%d ", water[i]);
| ~^ ~~~~~~~~
| | |
| int long long unsigned int
| %lld
main.cpp: In function 'int main()':
main.cpp:79:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
79 | printf("%d %d\n", l, r);
| ~^ ~
| | |
| int long unsigned int
| %ld
main.cpp:79:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
79 | printf("%d %d\n", l, r);
| ~^ ~
| | |
| int long unsigned int
| %ld
main.cpp:86:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
86 | fprintf(out, "%llu %llu", l, l-pSumCapacity[n]);
| ~~~^ ~
| | |
| | long unsigned int
| long long unsigned int
| %lu
main.cpp:86:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
86 | fprintf(out, "%llu %llu", l, l-pSumCapacity[n]);
| ~~~^ ~~~~~~~~~~~~~~~~~
| | |
| | long unsigned int
| long long unsigned int
| %lu
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | OK | 5 |
| 8 | 0ms | 303kb | OK | 5 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 0ms | 303kb | OK | 5 |
| 11 | 0ms | 303kb | Incorect | 0 |
| 12 | 0ms | 303kb | Incorect | 0 |
| 13 | 0ms | 303kb | Incorect | 0 |
| 14 | 0ms | 303kb | Incorect | 0 |
| 15 | 0ms | 303kb | Incorect | 0 |
| 16 | 0ms | 303kb | Incorect | 0 |
| 17 | 0ms | 303kb | Incorect | 0 |
| 18 | 0ms | 303kb | Incorect | 0 |
| 19 | 0ms | 303kb | Incorect | 0 |
| 20 | 0ms | 303kb | Incorect | 0 |
| Punctaj total | 15 |