Borderou de evaluare (job #2404895)
Utilizator | Data | 13 aprilie 2019 15:55:19 | |
---|---|---|---|
Problema | Zero 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:29:13: error: stray '#' in program
f>>n>>m;#include <fstream>
^
main.cpp: In function 'int main()':
main.cpp:29:14: error: 'include' was not declared in this scope
f>>n>>m;#include <fstream>
^~~~~~~
main.cpp:29:30: error: expected primary-expression before '>' token
f>>n>>m;#include <fstream>
^
main.cpp:31:1: error: expected primary-expression before 'using'
using namespace std;
^~~~~
main.cpp:37:12: error: a function-definition is not allowed here before '{' token
int main() {
^
main.cpp:33:11: warning: unused variable 'p' [-Wunused-variable]
long long p[101],d[101];
^
main.cpp:33:18: warning: unused variable 'd' [-Wunused-variable]
long long p[101],d[101];
^
main.cpp:35:11: warning: unused variable 't' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^
main.cpp:35:13: warning: unused variable 'i' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^
main.cpp:35:15: warning: unused variable 'k' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^
main.cpp:35:17: warning: unused variable 'n' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^
main.cpp:35:19: warning: unused variable 'b' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^
main.cpp:35:21: warning: unused variable 'nr' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^~
main.cpp:35:24: warning: unused variable 'j' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^
main.cpp:35:26: warning: unused variable 'Min' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^~~
main.cpp:35:30: warning: unused variable 's' [-Wunused-variable]
long long t,i,k,n,b,nr,j,Min,s;
^
main.cpp:87:1: error: expected '}' at end of input
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !