Pagini recente » Borderou de evaluare (job #2047435) | Borderou de evaluare (job #171017) | Borderou de evaluare (job #337534) | Borderou de evaluare (job #1765180) | Borderou de evaluare (job #2311222)
Borderou de evaluare (job #2311222)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(v[i]==v[i+1])
^~~~~
main.cpp:37:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
cnt++;
^~~
main.cpp:43: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 | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | OK | 10 | 10 |
5 | 3ms | 131kb | OK | 10 | 10 |
6 | 9ms | 131kb | OK | 10 | 10 |
7 | 101ms | 262kb | Time limit exceeded | 0 | 0 |
8 | 101ms | 393kb | Time limit exceeded | 0 | 0 |
9 | 102ms | 393kb | Time limit exceeded | 0 |
10 | 30ms | 524kb | OK | 10 |
Punctaj total | 60 |