Pagini recente » Borderou de evaluare (job #345990) | Borderou de evaluare (job #2170435) | Borderou de evaluare (job #1149534) | Borderou de evaluare (job #2846757) | Borderou de evaluare (job #1790072)
Borderou de evaluare (job #1790072)
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:65: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:65: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/cceMfJyc.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 | 1256kb | OK. | 5 | 20 |
2 | 4ms | 1436kb | OK. | 5 |
3 | 0ms | 596kb | OK. | 5 |
4 | 0ms | 1104kb | OK. | 5 |
5 | 0ms | 552kb | OK. | 3 | 3 |
6 | 124ms | 1272kb | Numar de siruri incorect. | 0 | 0 |
7 | 0ms | 504kb | OK. | 3 | 3 |
8 | 68ms | 960kb | OK. | 3 | 3 |
9 | 244ms | 1432kb | OK. | 4 | 4 |
10 | 196ms | 1420kb | Numar de siruri incorect. | 0 | 0 |
11 | 208ms | 1316kb | OK. | 4 | 4 |
12 | 236ms | 1372kb | Numar de siruri incorect. | 0 | 0 |
13 | 244ms | 1396kb | Numar de siruri incorect. | 0 | 0 |
14 | 204ms | 1436kb | Numar de siruri incorect. | 0 | 0 |
15 | 236ms | 1436kb | Numar de siruri incorect. | 0 | 0 |
16 | 332ms | 1424kb | Numar de siruri incorect. | 0 | 0 |
17 | 292ms | 1420kb | Numar de siruri incorect. | 0 | 0 |
18 | 244ms | 1428kb | Numar de siruri incorect. | 0 | 0 |
19 | 228ms | 1436kb | Numar de siruri incorect. | 0 | 0 |
20 | 252ms | 1440kb | Numar de siruri incorect. | 0 | 0 |
21 | 268ms | 1436kb | Numar de siruri incorect. | 0 | 0 |
22 | 244ms | 1432kb | Numar de siruri incorect. | 0 | 0 |
Punctaj total | 37 |