Pagini recente » Diferente pentru problema/worms intre reviziile 8 si 35 | Borderou de evaluare (job #1100168) | Cod sursa (job #80975) | Monitorul de evaluare | Borderou de evaluare (job #2059046)
Borderou de evaluare (job #2059046)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:8:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&n);
^
user.cpp:10:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:34:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld ", v[imax]);
^
user.cpp:36:39: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
if (l[i]==nrmax-1) printf("%lld ",v[i]), nrmax--;
^
user.cpp: In function ‘void read()’:
user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 464kb | Corect! | 10 | 10 |
| 2 | 12ms | 464kb | Corect! | 10 | 10 |
| 3 | 0ms | 452kb | Corect! | 10 | 10 |
| 4 | 4ms | 452kb | Corect! | 10 | 10 |
| 5 | 4ms | 452kb | Corect! | 10 | 10 |
| 6 | 8ms | 460kb | Corect! | 10 | 10 |
| 7 | 16ms | 464kb | Corect! | 10 | 10 |
| 8 | Depăşit | 828kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 880kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 828kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |