Borderou de evaluare (job #3257452)
Utilizator | Data | 17 noiembrie 2024 18:57:44 | |
---|---|---|---|
Problema | Permutari II | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int cmmmc(int, int)':
main.cpp:5:5: error: 'copiem' was not declared in this scope
5 | copiem = m;
| ^~~~~~
main.cpp:6:5: error: 'copien' was not declared in this scope; did you mean 'popen'?
6 | copien = n;
| ^~~~~~
| popen
main.cpp: In function 'int main()':
main.cpp:23:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
23 | cin >> n;
| ^~~
| std::cin
In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:75,
from main.cpp:1:
/usr/include/c++/12.2.1/iostream:60:18: note: 'std::cin' declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
main.cpp:24:9: error: 'i' was not declared in this scope
24 | for(i = 1; i <= n ; i++)
| ^
main.cpp:27:5: error: 'i' was not declared in this scope
27 | for(i = 1; i <= n; i++){
| ^
main.cpp:43:5: error: 'i' was not declared in this scope
43 | for(i = 1; i < k; i++)
| ^
main.cpp:20:25: warning: unused variable 'p' [-Wunused-variable]
20 | long long int n , k, p;
| ^
main.cpp: At global scope:
main.cpp:48:1: error: 'cout' does not name a type
48 | cout << var;
| ^~~~
main.cpp:50:5: error: expected unqualified-id before 'return'
50 | return 0;
| ^~~~~~
main.cpp:51:1: error: expected declaration before '}' token
51 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !