Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1212965)
Utilizator | Data | 26 iulie 2014 18:39:38 | |
---|---|---|---|
Problema | Livada | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 80 |
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:13:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[j]);v[a[j]%250001]++;
^
user.cpp:26:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n%d",nr_rand,maxim);
^
user.cpp:26:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.out","w",stdout);
^
user.cpp:8:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:13:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[j]);v[a[j]%250001]++;
^
Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
---|---|---|---|---|
1 | 16ms | 1228kb | OK! | 10 |
2 | 16ms | 1224kb | OK! | 10 |
3 | 84ms | 608kb | OK! | 10 |
4 | 180ms | 996kb | OK! | 10 |
5 | 248ms | 1004kb | OK! | 10 |
6 | Depăşit | 1028kb | Time limit exceeded. | 0 |
7 | 300ms | 1028kb | OK! | 10 |
8 | 232ms | 1672kb | OK! | 10 |
9 | Depăşit | 1216kb | Time limit exceeded. | 0 |
10 | 224ms | 3720kb | OK! | 10 |
Punctaj total | 80 |
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !