Pagini recente » Borderou de evaluare (job #1632087) | Borderou de evaluare (job #378057) | Borderou de evaluare (job #1497930) | Borderou de evaluare (job #1174675) | Borderou de evaluare (job #1788294)
Borderou de evaluare (job #1788294)
Raport evaluator
Compilare:
user.cpp: In function ‘void cauta(long long int)’:
user.cpp:10:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,st,dr,mij;
^
user.cpp: In function ‘int main()’:
user.cpp:52:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:52:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:56:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:75:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&q);
^
user.cpp:78:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:85:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(t>=w[n]) printf("%d\n",w[n]);
^
user.cpp:95:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",w[aux]+(( t-1)*(n-aux)));
^
user.cpp:50:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("inundatie.in","r",stdin);
^
user.cpp:51:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("inundatie.out","w",stdout);
^
user.cpp:52: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:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:75:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:78:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 12ms | 424kb | OK | 10 |
4 | 24ms | 608kb | OK | 10 |
5 | 36ms | 736kb | OK | 10 |
6 | 48ms | 892kb | OK | 10 |
7 | 68ms | 1240kb | OK | 10 |
8 | 96ms | 1444kb | OK | 10 |
9 | 132ms | 1664kb | OK | 10 |
10 | 0ms | 256kb | OK | 10 |
Punctaj total | 100 |