Borderou de evaluare (job #1520712)
Utilizator | Data | 9 noiembrie 2015 11:34:42 | |
---|---|---|---|
Problema | RangeMode | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:18:27: error: stray ‘#’ in program
j++; scanf("%d",&x); m#include <stdio.h>
^
user.cpp: In function ‘int main()’:
user.cpp:18:28: error: expected ‘;’ before ‘include’
j++; scanf("%d",&x); m#include <stdio.h>
^
user.cpp:23:20: warning: statement has no effect [-Wunused-value]
using namespace std;
^
user.cpp:28:29: error: a function-definition is not allowed here before ‘{’ token
inline int max(int a,int b) { if (a>b) return a; else return b; }
^
user.cpp:29:12: error: a function-definition is not allowed here before ‘{’ token
int main() {
^
user.cpp:72:1: error: expected ‘}’ at end of input
}
^
user.cpp:24:5: warning: unused variable ‘j’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:7: warning: unused variable ‘i’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:9: warning: unused variable ‘n’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:11: warning: unused variable ‘leng’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:16: warning: unused variable ‘x’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:18: warning: unused variable ‘y’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:20: warning: unused variable ‘m’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:22: warning: unused variable ‘k’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:24: warning: unused variable ‘st’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:27: warning: unused variable ‘dr’ [-Wunused-variable]
int j,i,n,leng,x,y,m,k,st,dr,t[nmax],maxx,mx; bool ok;
^
user.cpp:24:30: warning: unused variable ‘t’ [-Wunused-variable]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !