Borderou de evaluare (job #2336175)
Utilizator | Data | 4 februarie 2019 20:55:45 | |
---|---|---|---|
Problema | Expresie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:52:37: error: stray '#' in program
if(v[i]*v[i+1]>max2 && i!=p1#include <fstream>
^
main.cpp: In function 'int main()':
main.cpp:52:38: error: expected ')' before 'include'
if(v[i]*v[i+1]>max2 && i!=p1#include <fstream>
^~~~~~~
main.cpp:74:1: error: a function-definition is not allowed here before '{' token
{
^
main.cpp:320:1: error: expected '}' at end of input
}
^
main.cpp:66:11: warning: unused variable 'n' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^
main.cpp:66:13: warning: unused variable 'max1' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~~~
main.cpp:66:18: warning: unused variable 'max2' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~~~
main.cpp:66:23: warning: unused variable 'max3' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~~~
main.cpp:66:28: warning: unused variable 'p1' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~
main.cpp:66:31: warning: unused variable 'p2' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~
main.cpp:66:34: warning: unused variable 'p3' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~
main.cpp:66:37: warning: unused variable 'p4' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~
main.cpp:66:40: warning: unused variable 'p5' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~
main.cpp:66:43: warning: unused variable 'p6' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~
main.cpp:66:46: warning: unused variable 'p7' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~
main.cpp:66:49: warning: unused variable 'maxx' [-Wunused-variable]
long long n,max1,max2,max3,p1,p2,p3,p4,p5,p6,p7,maxx,s,S;
^~~~
main.cpp:66:54: warning: unused variable 's' [-Wunused-variable]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !