Pagini recente » Borderou de evaluare (job #220892) | Borderou de evaluare (job #2939229) | Borderou de evaluare (job #1122667) | Borderou de evaluare (job #1645470) | Borderou de evaluare (job #2502924)
Borderou de evaluare (job #2502924)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size()-k;++i)
~^~~~~~~~~~~
main.cpp:8:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.in","r",stdin);
^
main.cpp:9:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.out","w",stdout);
^
main.cpp:11:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
main.cpp:15:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 5ms | 131kb | OK | 10 |
6 | 5ms | 262kb | OK | 10 |
7 | 6ms | 262kb | OK | 10 |
8 | 5ms | 131kb | OK | 10 |
9 | 5ms | 131kb | OK | 10 |
10 | 5ms | 131kb | OK | 10 |
Punctaj total | 100 |