Pagini recente » Borderou de evaluare (job #1963844) | Borderou de evaluare (job #2056329) | Borderou de evaluare (job #1961387) | Borderou de evaluare (job #548947) | Borderou de evaluare (job #1475352)
Borderou de evaluare (job #1475352)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:110:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[9]’ [-Wformat=]
scanf("%s %s", &s, &t);
^
user.cpp:110:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[9]’ [-Wformat=]
user.cpp: In function ‘void read()’:
user.cpp:92:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eliminare.in", "r", stdin);
^
user.cpp:93: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:96:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void solve()’:
user.cpp:110:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s", &s, &t);
^
user.cpp: In function ‘void write()’:
user.cpp:139:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eliminare.out", "w", stdout);
^
/tmp/ccQKAFhL.o: In function `read()':
user.cpp:(.text+0x338): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 672kb | OK | 10 |
2 | 32ms | 1080kb | Incorect | 0 |
3 | 584ms | 6472kb | Incorect | 0 |
4 | 156ms | 6644kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 1288ms | 12744kb | Incorect | 0 |
6 | 296ms | 12920kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 1496ms | 13036kb | Incorect | 0 |
8 | 3020ms | 25692kb | Incorect | 0 |
9 | 3288ms | 25732kb | Incorect | 0 |
10 | 3320ms | 25792kb | Incorect | 0 |
Punctaj total | 10 |