Pagini recente » Borderou de evaluare (job #2312242) | Borderou de evaluare (job #2090877) | Borderou de evaluare (job #2238366) | Borderou de evaluare (job #1995871) | Borderou de evaluare (job #1257650)
Borderou de evaluare (job #1257650)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!q.empty() && q.back() < s[i] && q.size() + n-i >= k) q.pop_back();
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:17:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc5uqH0q.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 8ms | 424kb | OK | 10 |
7 | 4ms | 400kb | OK | 10 |
8 | Depăşit | 1808kb | Time limit exceeded. | 0 |
9 | Depăşit | 2200kb | Time limit exceeded. | 0 |
10 | Depăşit | 1872kb | Time limit exceeded. | 0 |
Punctaj total | 70 |