Pagini recente » Borderou de evaluare (job #166612) | Borderou de evaluare (job #2044712) | Borderou de evaluare (job #166880) | Borderou de evaluare (job #1710232) | Borderou de evaluare (job #2059040)
Borderou de evaluare (job #2059040)
Raport evaluator
Compilare:
user.cpp:4:14: warning: overflow in implicit constant conversion [-Woverflow]
const int M1=100000000003;
^
user.cpp:5:14: warning: overflow in implicit constant conversion [-Woverflow]
const int M2=100000000183;
^
user.cpp: In function ‘int main()’:
user.cpp:19:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.in","r",stdin);
^
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.out","w",stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:25:21: 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:25:21:
/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/ccXPj98y.o: In function `main':
user.cpp:(.text.startup+0x95): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | OK | 5 |
2 | 0ms | 496kb | OK | 5 |
3 | 0ms | 492kb | OK | 5 |
4 | 0ms | 492kb | OK | 5 |
5 | 0ms | 648kb | OK | 5 |
6 | 0ms | 648kb | OK | 5 |
7 | 0ms | 648kb | OK | 5 |
8 | 0ms | 648kb | OK | 5 |
9 | 64ms | 3736kb | OK | 5 |
10 | 80ms | 4184kb | OK | 5 |
11 | 76ms | 4184kb | OK | 5 |
12 | 100ms | 4372kb | OK | 5 |
13 | 92ms | 4372kb | OK | 5 |
14 | 80ms | 3480kb | OK | 5 |
15 | 84ms | 3616kb | OK | 5 |
16 | 96ms | 3968kb | OK | 5 |
17 | Depăşit | 4376kb | Time limit exceeded. | 0 |
18 | Depăşit | 4368kb | Time limit exceeded. | 0 |
19 | Depăşit | 4336kb | Time limit exceeded. | 0 |
20 | 100ms | 4088kb | OK | 5 |
Punctaj total | 85 |