Pagini recente » Borderou de evaluare (job #3847) | Borderou de evaluare (job #2116323) | Borderou de evaluare (job #2454173) | Borderou de evaluare (job #1652378) | Borderou de evaluare (job #1393846)
Borderou de evaluare (job #1393846)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%s",&a);
^
user.cpp:19:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!st.empty()&&st.top() < x && y + st.size() >= m)
^
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.in","r",stdin);
^
user.cpp:12:39: 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:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 |
5 | 0ms | 468kb | OK | 10 |
6 | 8ms | 868kb | OK | 10 |
7 | 4ms | 704kb | OK | 10 |
8 | 4ms | 884kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 888kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 884kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 70 |