Pagini recente » Borderou de evaluare (job #1707935) | Borderou de evaluare (job #2448202) | Borderou de evaluare (job #3165522) | Borderou de evaluare (job #1154985) | Borderou de evaluare (job #1746457)
Borderou de evaluare (job #1746457)
Raport evaluator
Compilare:
user.cpp: In function ‘int djk(int)’:
user.cpp:29:11: warning: unused variable ‘ans’ [-Wunused-variable]
int i,ans,nod,co;
^
user.cpp:49:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:54:29: warning: unused variable ‘ma’ [-Wunused-variable]
int ans=0,s,x,y,i,j,n,m,ma=0,nod=0;
^
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spectacole.in","r",stdin);
^
user.cpp:53:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spectacole.out","w",stdout);
^
user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:57:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:59:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i]);
^
user.cpp:62:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&s,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 544kb | OK | 10 |
2 | 4ms | 576kb | Incorect | 0 |
3 | 0ms | 576kb | OK | 10 |
4 | 12ms | 800kb | Incorect | 0 |
5 | 24ms | 788kb | Incorect | 0 |
6 | 8ms | 1148kb | Killed by signal 6(SIGABRT). | 0 |
7 | 8ms | 1028kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 8ms | 1028kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 1144kb | Killed by signal 6(SIGABRT). | 0 |
10 | 8ms | 1148kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 20 |