Borderou de evaluare (job #1214750)

Utilizator mihail.jianuJianu Mihail mihail.jianu Data 31 iulie 2014 12:02:44
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: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: 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:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&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:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&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
10ms272kbIncorect0
24ms276kbIncorect0
312ms280kbIncorect0
424ms288kbIncorect0
5Depăşit736kbTime limit exceeded.0
6Depăşit808kbTime limit exceeded.0
7Depăşit892kbTime limit exceeded.0
8Depăşit932kbTime limit exceeded.0
9Depăşit968kbTime limit exceeded.0
10Depăşit1048kbTime limit exceeded.0
11Depăşit812kbTime limit exceeded.0
12Depăşit1048kbTime limit exceeded.0
13Depăşit1044kbTime limit exceeded.0
14Depăşit1204kbTime limit exceeded.0
15Depăşit1748kbTime limit exceeded.0
16Depăşit1744kbTime limit exceeded.0
17Depăşit1748kbTime limit exceeded.0
18Depăşit1784kbTime limit exceeded.0
19Depăşit1824kbTime limit exceeded.0
20Depăşit1824kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?