Pagini recente » Borderou de evaluare (job #2867958) | Borderou de evaluare (job #2466762) | Borderou de evaluare (job #2217269) | Borderou de evaluare (job #1530265) | Borderou de evaluare (job #1378767)
Borderou de evaluare (job #1378767)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:12:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",s[i]);
^
user.cpp:14:11: warning: unused variable ‘u1’ [-Wunused-variable]
int u,u1;
^
user.cpp:7:35: 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:8: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);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 8ms | 484kb | Corect! | 10 | 10 |
2 | 36ms | 524kb | Corect! | 10 | 10 |
3 | 0ms | 456kb | Corect! | 10 | 10 |
4 | 4ms | 456kb | Corect! | 10 | 10 |
5 | 4ms | 464kb | Corect! | 10 | 10 |
6 | 12ms | 484kb | Corect! | 10 | 10 |
7 | 24ms | 500kb | Corect! | 10 | 10 |
8 | Depăşit | 1304kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1356kb | Time limit exceeded. | 0 |
10 | Depăşit | 1292kb | Time limit exceeded. | 0 |
Punctaj total | 70 |