Pagini recente » Borderou de evaluare (job #1731791) | Borderou de evaluare (job #1279464) | Borderou de evaluare (job #2784542) | Borderou de evaluare (job #443027) | Borderou de evaluare (job #2311225)
Borderou de evaluare (job #2311225)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(v[i]==v[i+1])
^~~~~
main.cpp:36:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
cnt++;
^~~
main.cpp:42:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",sum);
^
main.cpp:21:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("subsir100.in","r",stdin);
^
main.cpp:22:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("subsir100.out","w",stdout);
^
main.cpp:24:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:27: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 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 8ms | 131kb | Incorect | 0 | 0 |
5 | 26ms | 131kb | Incorect | 0 | 0 |
6 | 90ms | 131kb | Incorect | 0 | 0 |
7 | 100ms | 262kb | Time limit exceeded | 0 | 0 |
8 | 100ms | 393kb | Time limit exceeded | 0 | 0 |
9 | 101ms | 393kb | Time limit exceeded | 0 |
10 | 25ms | 524kb | OK | 10 |
Punctaj total | 10 |