Pagini recente » Borderou de evaluare (job #1845702) | Borderou de evaluare (job #349827) | Borderou de evaluare (job #2610385) | Borderou de evaluare (job #2347831) | Borderou de evaluare (job #2194095)
Borderou de evaluare (job #2194095)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
user.cpp:15:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
vector<int>q;
^~~~~~
user.cpp:9: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:10: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:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 860kb | Corect! | 10 | 10 |
2 | 0ms | 892kb | Corect! | 10 | 10 |
3 | 0ms | 852kb | Corect! | 10 | 10 |
4 | 0ms | 852kb | Corect! | 10 | 10 |
5 | 0ms | 852kb | Corect! | 10 | 10 |
6 | 0ms | 856kb | Corect! | 10 | 10 |
7 | 0ms | 872kb | Corect! | 10 | 10 |
8 | 56ms | 1624kb | Corect! | 10 | 30 |
9 | 36ms | 1612kb | Corect! | 10 |
10 | 56ms | 1624kb | Corect! | 10 |
Punctaj total | 100 |