Pagini recente » Borderou de evaluare (job #2012492) | Borderou de evaluare (job #2682543) | Borderou de evaluare (job #2036194) | Borderou de evaluare (job #136655) | Borderou de evaluare (job #1480544)
Borderou de evaluare (job #1480544)
Raport evaluator
Compilare:
user.cpp: In function ‘void cauta(int)’:
user.cpp:10:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,st,dr,mij;
^
user.cpp: In function ‘int main()’:
user.cpp:73:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(t>=v[n]) printf("%d\n",w[n]);
^
user.cpp:81:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",w[aux-1]+(t*(n-aux+1)));
^
user.cpp:38: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:39: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:40: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:44:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:63:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:66: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 | 272kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 8ms | 396kb | Incorect | 0 |
4 | 24ms | 536kb | OK | 10 |
5 | 36ms | 632kb | OK | 10 |
6 | 44ms | 740kb | Incorect | 0 |
7 | 64ms | 1000kb | OK | 10 |
8 | 92ms | 1160kb | Incorect | 0 |
9 | 124ms | 1320kb | Incorect | 0 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 60 |