Borderou de evaluare (job #3338537)
| Utilizator | Data | 3 februarie 2026 20:33:32 | |
|---|---|---|---|
| Problema | Lista lui Andrei | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: expected ',' or ';' before 'ofstream'
5 | ofstream cout("nrcuv.out")
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:11:10: error: 'n' was not declared in this scope
11 | cin>>n>>m;
| ^
main.cpp:11:13: error: 'm' was not declared in this scope; did you mean 'tm'?
11 | cin>>n>>m;
| ^
| tm
main.cpp:15:9: error: 'x' was not declared in this scope
15 | x=int(c-'a');
| ^
main.cpp:17:9: error: 'y' was not declared in this scope
17 | y=int(c-'a');
| ^
main.cpp:18:9: error: 'p' was not declared in this scope
18 | p[x][y]=1;
| ^
main.cpp:23:9: error: 'dp' was not declared in this scope
23 | dp[i][1]=1;
| ^~
main.cpp:29:13: error: 'dp' was not declared in this scope
29 | dp[c1][i]=0;
| ^~
main.cpp:32:20: error: 'p' was not declared in this scope
32 | if(p[c1][c2]==0)
| ^
main.cpp:39:9: error: 's' was not declared in this scope
39 | s=(s+dp[i][n])%104659;
| ^
main.cpp:39:14: error: 'dp' was not declared in this scope
39 | s=(s+dp[i][n])%104659;
| ^~
main.cpp:41:5: error: 'cout' was not declared in this scope
41 | cout<<s;
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:41:11: error: 's' was not declared in this scope
41 | cout<<s;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
