Pagini recente » Cod sursa (job #77801) | Borderou de evaluare (job #1024613) | Borderou de evaluare (job #2706534) | Borderou de evaluare (job #1073601) | Borderou de evaluare (job #1786235)
Borderou de evaluare (job #1786235)
Raport evaluator
Compilare:
user.cpp: In function ‘void generare()’:
user.cpp:41:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", maxi);
^
user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",a[p]);
^
user.cpp: In function ‘void citire()’:
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ", &a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:52: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:53: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 | 0ms | 292kb | Corect! | 10 | 10 |
| 2 | 4ms | 304kb | Corect! | 10 | 10 |
| 3 | 0ms | 280kb | Corect! | 10 | 10 |
| 4 | 0ms | 288kb | Corect! | 10 | 10 |
| 5 | 0ms | 284kb | Corect! | 10 | 10 |
| 6 | 4ms | 296kb | Corect! | 10 | 10 |
| 7 | 12ms | 296kb | Corect! | 10 | 10 |
| 8 | Depăşit | 724kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 816kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 720kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |