Pagini recente » Borderou de evaluare (job #1529741) | Borderou de evaluare (job #2101036) | Borderou de evaluare (job #3115682) | Borderou de evaluare (job #1870731) | Borderou de evaluare (job #1575899)
Borderou de evaluare (job #1575899)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:63:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:64:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; ++ i)
^
user.cpp:66:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
}
^
user.cpp: In function ‘void write()’:
user.cpp:88:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = l; i >= 1; -- i)
^
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 ‘void read()’ at user.cpp:66: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/ccBBE7Hx.o: In function `read()':
user.cpp:(.text+0xe5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 4424kb | OK | 10 | 20 |
2 | 4ms | 4432kb | OK | 10 |
3 | 4ms | 4884kb | OK | 10 | 30 |
4 | 4ms | 4828kb | OK | 10 |
5 | 4ms | 4880kb | OK | 10 |
6 | 8ms | 6828kb | OK | 10 | 10 |
7 | 16ms | 9480kb | OK | 10 | 20 |
8 | 16ms | 9436kb | OK | 10 |
9 | 16ms | 9480kb | OK | 10 | 20 |
10 | 16ms | 9476kb | OK | 10 |
Punctaj total | 100 |