Pagini recente » Borderou de evaluare (job #2706125) | Borderou de evaluare (job #1685119) | Borderou de evaluare (job #1448230) | Borderou de evaluare (job #2769070) | Borderou de evaluare (job #1448582)
Borderou de evaluare (job #1448582)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.in","r",stdin);
^
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.out","w",stdout);
^
user.cpp:52:29: 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:55:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A[i]+1);
^
user.cpp:64:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c\n", &litera);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:4:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:55:21:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccWpuOGm.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 404kb | Incorect | 0 |
2 | 0ms | 460kb | Incorect | 0 |
3 | 0ms | 1444kb | Incorect | 0 |
4 | 0ms | 2372kb | Incorect | 0 |
5 | 16ms | 12456kb | Incorect | 0 |
6 | 4ms | 2816kb | Incorect | 0 |
7 | 104ms | 49664kb | Incorect | 0 |
8 | 120ms | 48792kb | Incorect | 0 |
9 | 96ms | Depăşit | Memory limit exceeded. | 0 |
10 | 96ms | Depăşit | Memory limit exceeded. | 0 |
11 | 96ms | Depăşit | Memory limit exceeded. | 0 |
12 | 804ms | 54636kb | Incorect | 0 |
13 | 864ms | 58228kb | Incorect | 0 |
14 | 912ms | 61608kb | Incorect | 0 |
15 | 208ms | 18388kb | Incorect | 0 |
16 | 648ms | 22668kb | Incorect | 0 |
17 | 596ms | 40008kb | Incorect | 0 |
18 | 100ms | Depăşit | Memory limit exceeded. | 0 |
19 | 96ms | Depăşit | Memory limit exceeded. | 0 |
20 | 100ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |