Pagini recente » Borderou de evaluare (job #873446) | Borderou de evaluare (job #402996) | Borderou de evaluare (job #680596) | Borderou de evaluare (job #1487317) | Borderou de evaluare (job #1788298)
Borderou de evaluare (job #1788298)
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:35: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:35:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:39:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:53:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&q);
^
user.cpp:56:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:64:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",w[gasit]+(( t-1)*(n-gasit)));
^
user.cpp:33: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:34: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:35: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:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:53:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:56: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 | 264kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 12ms | 432kb | OK | 10 |
4 | 24ms | 612kb | OK | 10 |
5 | 36ms | 736kb | OK | 10 |
6 | 48ms | 892kb | OK | 10 |
7 | 72ms | 1240kb | OK | 10 |
8 | 96ms | 1448kb | OK | 10 |
9 | 132ms | 1668kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |