Pagini recente » Borderou de evaluare (job #62196) | Borderou de evaluare (job #963931) | Borderou de evaluare (job #962338) | Borderou de evaluare (job #1748437) | Borderou de evaluare (job #1212035)
Borderou de evaluare (job #1212035)
Raport evaluator
Compilare:
user.cpp: In function ‘char solve()’:
user.cpp:34:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(odd < par[1].size() || even < par[0].size()) {
^
user.cpp:34:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(odd < par[1].size() || even < par[0].size()) {
^
user.cpp:38:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(even < par[0].size()) {
^
user.cpp:51:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(odd < par[1].size()) {
^
user.cpp:64:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(odd < par[1].size() && vis[par[1][odd]])
^
user.cpp:66:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(even < par[0].size() && vis[par[0][even]])
^
user.cpp: In function ‘int main()’:
user.cpp:75:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cutie.in", "r", stdin);
^
user.cpp:76:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cutie.out", "w", stdout);
^
user.cpp:79:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:83:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &k, &m);
^
user.cpp:87:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &stricat[i]);
^
user.cpp:92:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cutie[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 4ms | 412kb | Incorect | 0 |
6 | 8ms | 624kb | Incorect | 0 |
7 | 4ms | 440kb | Incorect | 0 |
8 | 4ms | 556kb | Incorect | 0 |
9 | 4ms | 528kb | Incorect | 0 |
10 | 16ms | 704kb | Incorect | 0 |
Punctaj total | 20 |