Pagini recente » Borderou de evaluare (job #559748) | Borderou de evaluare (job #2267288) | Borderou de evaluare (job #3217366) | Borderou de evaluare (job #2613538) | Borderou de evaluare (job #1482473)
Borderou de evaluare (job #1482473)
Raport evaluator
Compilare:
user.cpp:5:28: warning: integer overflow in expression [-Woverflow]
const int INF = (1 << 31) -1;
^
user.cpp: In function ‘void solve()’:
user.cpp:31:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graf[nod].size(); ++i){
^
user.cpp: In function ‘void read()’:
user.cpp:14:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(iname, "r", stdin);
^
user.cpp:15:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &k);
^
user.cpp:16:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= k; ++i) scanf("%d ", fort+i);
^
user.cpp:19:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &c);
^
user.cpp: In function ‘int main()’:
user.cpp:47:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(oname, "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 708kb | OK | 10 |
2 | 4ms | 804kb | OK | 10 |
3 | 12ms | 1056kb | OK | 10 |
4 | 0ms | 696kb | OK | 10 |
5 | 28ms | 1480kb | OK | 10 |
6 | 64ms | 2156kb | OK | 10 |
7 | 4ms | 832kb | OK | 10 |
8 | 12ms | 1016kb | OK | 10 |
9 | 36ms | 1636kb | OK | 10 |
10 | 108ms | 2884kb | OK | 10 |
Punctaj total | 100 |