Pagini recente » Borderou de evaluare (job #421049) | Borderou de evaluare (job #1722539) | Borderou de evaluare (job #2828852) | Borderou de evaluare (job #2980926) | Borderou de evaluare (job #2990346)
Borderou de evaluare (job #2990346)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:24: warning: unused variable 'k' [-Wunused-variable]
32 | int t, n, m, type, k = 0;
| ^
main.cpp: In function 'int find(int)':
main.cpp:26:24: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
26 | while(p[r] != 0) r = p[a];
| ~~^~~~~~
main.cpp:24:12: note: 'a' was declared here
24 | int r, a;
| ^
In function 'int find(int)',
inlined from 'int main()' at main.cpp:48:21:
main.cpp:26:24: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
26 | while(p[r] != 0) r = p[a];
| ~~^~~~~~
main.cpp: In function 'int main()':
main.cpp:24:12: note: 'a' was declared here
24 | int r, a;
| ^
In function 'int find(int)',
inlined from 'int main()' at main.cpp:48:34:
main.cpp:26:24: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
26 | while(p[r] != 0) r = p[a];
| ~~^~~~~~
main.cpp: In function 'int main()':
main.cpp:24:12: note: 'a' was declared here
24 | int r, a;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 73ms | 2584kb | Incorect | 0 |
Punctaj total | 0 |