Borderou de evaluare (job #1214748)

Utilizator mihail.jianuJianu Mihail mihail.jianu Data 31 iulie 2014 12:01:58
Problema Maxq Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void scan()’: user.cpp:8:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%d",&n); ^ user.cpp:10:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%d",&v[i]); ^ user.cpp:11:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%d",&noQ); ^ user.cpp: In function ‘void solveQuery()’: user.cpp:34:28: warning: variable ‘c1’ set but not used [-Wunused-but-set-variable] long long i,s=0,sMax=0,c1,c2,cc1=1; ^ user.cpp:34:31: warning: variable ‘c2’ set but not used [-Wunused-but-set-variable] long long i,s=0,sMax=0,c1,c2,cc1=1; ^ user.cpp: In function ‘void scan()’: user.cpp:8:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.cpp:10:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&v[i]); ^ user.cpp:11:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&noQ); ^ user.cpp: In function ‘void scanQuery()’: user.cpp:19:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&qType); ^ user.cpp:21:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld%lld",&qI,&qPP); ^ user.cpp:25:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld%lld",&qA,&qB); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbIncorect0
24ms272kbIncorect0
312ms284kbIncorect0
424ms292kbIncorect0
5Depăşit736kbTime limit exceeded.0
6Depăşit812kbTime limit exceeded.0
7Depăşit892kbTime limit exceeded.0
8Depăşit928kbTime limit exceeded.0
9Depăşit972kbTime limit exceeded.0
10Depăşit1044kbTime limit exceeded.0
11Depăşit812kbTime limit exceeded.0
12Depăşit1044kbTime limit exceeded.0
13Depăşit1048kbTime limit exceeded.0
14Depăşit1204kbTime limit exceeded.0
15Depăşit1744kbTime limit exceeded.0
16Depăşit1752kbTime limit exceeded.0
17Depăşit1748kbTime limit exceeded.0
18Depăşit1792kbTime limit exceeded.0
19Depăşit1824kbTime limit exceeded.0
20Depăşit1824kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?