Pagini recente » Borderou de evaluare (job #180268) | Borderou de evaluare (job #172688) | Borderou de evaluare (job #2709905) | Borderou de evaluare (job #2075626) | Borderou de evaluare (job #1786204)
Borderou de evaluare (job #1786204)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:10:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d ", &a[i]);
^
user.cpp: In function ‘void generare()’:
user.cpp:40:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", c[i]);
^
user.cpp: In function ‘void citire()’:
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:45: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:46: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 | 288kb | Corect! | 10 | 10 |
| 2 | 8ms | 300kb | Corect! | 10 | 10 |
| 3 | 0ms | 276kb | Lungime incorecta! | 0 | 0 |
| 4 | 0ms | 280kb | Lungime incorecta! | 0 | 0 |
| 5 | 0ms | 284kb | Lungime incorecta! | 0 | 0 |
| 6 | 4ms | 288kb | Lungime incorecta! | 0 | 0 |
| 7 | 4ms | 288kb | Lungime incorecta! | 0 | 0 |
| 8 | Depăşit | 684kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 688kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 692kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |