Pagini recente » Borderou de evaluare (job #1544536) | Borderou de evaluare (job #1828949) | Borderou de evaluare (job #2895219) | Borderou de evaluare (job #1694157) | Borderou de evaluare (job #1664848)
Borderou de evaluare (job #1664848)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(!stiva.empty() && stiva.top()<x[i] && stiva.size()+n-i>=m)
^
user.cpp:18:73: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!stiva.empty() && stiva.top()<x[i] && stiva.size()+n-i>=m)
^
user.cpp:25:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stiva.empty() || stiva.size()<m)
^
user.cpp:8: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:9: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:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&m);
^
user.cpp:12:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(x+1);
^
/tmp/cc92cfq4.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 0ms | 308kb | OK | 10 |
6 | 12ms | 692kb | OK | 10 |
7 | 8ms | 532kb | OK | 10 |
8 | Depăşit | 5324kb | Time limit exceeded. | 0 |
9 | Depăşit | 8616kb | Time limit exceeded. | 0 |
10 | Depăşit | 5576kb | Time limit exceeded. | 0 |
Punctaj total | 70 |