Borderou de evaluare (job #1702679)

Utilizator gurulMarian Catalin gurul Data 15 mai 2016 14:18:53
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(!st.empty() && (st.size()+n-i-1)>=m && st.top()<input[i]) ^ user.cpp:10:35: 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:11:37: 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:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:14:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(input); ^ /tmp/cc6cGgju.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
10ms276kbOK10
20ms280kbOK10
30ms284kbOK10
40ms284kbOK10
50ms288kbOK10
68ms484kbOK10
74ms452kbOK10
8Depăşit2588kbTime limit exceeded.0
9Depăşit3192kbTime limit exceeded.0
10Depăşit2596kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?