Pagini recente » Borderou de evaluare (job #2300048) | Diferente pentru problema/note intre reviziile 2 si 3 | Borderou de evaluare (job #1439943) | Borderou de evaluare (job #1710128) | Borderou de evaluare (job #2578519)
Borderou de evaluare (job #2578519)
Raport evaluator
Compilare:
main.cpp: In function 'void add(int, char*)':
main.cpp:16:11: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL){
^~~~
main.cpp: In member function 'void usu::insert()':
main.cpp:34:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v.size() >= k) return ;
~~~~~~~~~^~~~
main.cpp: In member function 'void usu::merge(const usu&)':
main.cpp:40:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v.size() < sz + aux.v.size() && v.size() < k) v.push_back(INF);
~~~~~~~~~^~~
main.cpp:43:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j <= aux.v.size() ; ++j){
~~^~~~~~~~~~~~~~~
main.cpp:44:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i + j - 1 >= v.size()) break ;
~~~~~~~~~~^~~~~~~~~~~
main.cpp:49:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < aux.v.size() ; ++j)
~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:78:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cli.in", "r", stdin);
^
main.cpp:79:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cli.out", "w", stdout);
^
main.cpp:81:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:84:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 51ms | 24117kb | OK | 5 |
| 2 | 51ms | 24117kb | OK | 5 |
| 3 | 55ms | 24117kb | OK | 5 |
| 4 | 51ms | 24117kb | OK | 5 |
| 5 | 51ms | 24117kb | OK | 5 |
| 6 | 52ms | 24117kb | OK | 5 |
| 7 | 53ms | 24510kb | OK | 5 |
| 8 | 60ms | 24510kb | OK | 5 |
| 9 | 54ms | 24510kb | OK | 5 |
| 10 | 54ms | 24510kb | OK | 5 |
| 11 | 93ms | 29884kb | OK | 5 |
| 12 | 105ms | 30277kb | OK | 5 |
| 13 | 95ms | 30670kb | OK | 5 |
| 14 | 105ms | 30539kb | OK | 5 |
| 15 | 105ms | 30408kb | OK | 5 |
| 16 | 107ms | 30670kb | OK | 5 |
| 17 | 276ms | 57278kb | OK | 5 |
| 18 | 292ms | 57802kb | OK | 5 |
| 19 | 287ms | 55312kb | OK | 5 |
| 20 | 262ms | 55312kb | OK | 5 |
| Punctaj total | 100 |