Pagini recente » Borderou de evaluare (job #2928877) | Borderou de evaluare (job #1382712) | Borderou de evaluare (job #1114658) | Borderou de evaluare (job #1870403) | Borderou de evaluare (job #1790064)
Borderou de evaluare (job #1790064)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in", "r", stdin);
^
user.cpp:22:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out", "w", stdout);
^
user.cpp:24:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &type, &n);
^
user.cpp:31:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
user.cpp:67:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:31:27:
/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);
^
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:67:23:
/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/ccoMQ89h.o: In function `main':
user.cpp:(.text.startup+0x9f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 1264kb | Incorect. | 0 | 0 |
2 | 4ms | 1436kb | Incorect. | 0 |
3 | 0ms | 596kb | Incorect. | 0 |
4 | 0ms | 1116kb | Incorect. | 0 |
5 | 0ms | 548kb | OK. | 3 | 3 |
6 | 128ms | 1272kb | Numar de siruri incorect. | 0 | 0 |
7 | 0ms | 504kb | OK. | 3 | 3 |
8 | 76ms | 964kb | OK. | 3 | 3 |
9 | 224ms | 1428kb | OK. | 4 | 4 |
10 | 188ms | 1420kb | Numar de siruri incorect. | 0 | 0 |
11 | 196ms | 1316kb | OK. | 4 | 4 |
12 | 228ms | 1368kb | Numar de siruri incorect. | 0 | 0 |
13 | 240ms | 1392kb | Numar de siruri incorect. | 0 | 0 |
14 | 208ms | 1440kb | Numar de siruri incorect. | 0 | 0 |
15 | 236ms | 1436kb | Numar de siruri incorect. | 0 | 0 |
16 | 312ms | 1432kb | Numar de siruri incorect. | 0 | 0 |
17 | 296ms | 1424kb | Numar de siruri incorect. | 0 | 0 |
18 | 228ms | 1436kb | Numar de siruri incorect. | 0 | 0 |
19 | 232ms | 1428kb | Numar de siruri incorect. | 0 | 0 |
20 | 256ms | 1432kb | Numar de siruri incorect. | 0 | 0 |
21 | 244ms | 1436kb | Numar de siruri incorect. | 0 | 0 |
22 | 232ms | 1436kb | Numar de siruri incorect. | 0 | 0 |
Punctaj total | 17 |