Pagini recente » Borderou de evaluare (job #829205) | Borderou de evaluare (job #2409431) | Borderou de evaluare (job #2680671) | Borderou de evaluare (job #1655149) | Borderou de evaluare (job #2102161)
Borderou de evaluare (job #2102161)
Raport evaluator
Compilare:
user.cpp: In function ‘bool is_good(long long int)’:
user.cpp:61:23: warning: unused variable ‘p’ [-Wunused-variable]
int i,st,dr,mid,f,p;
^
user.cpp: In function ‘void Read(int&)’:
user.cpp:26:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz == DIM) fread(buff,1,DIM,stdin), poz=0;
^
user.cpp:32:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz == DIM) fread(buff,1,DIM,stdin), poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:87:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrsec.in","r",stdin);
^
user.cpp:88:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrsec.out","w",stdout);
^
user.cpp:93:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld",&N,&K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1624kb | OK | 10 |
2 | 0ms | 1628kb | OK | 10 |
3 | 8ms | 1648kb | OK | 10 |
4 | 60ms | 1748kb | OK | 10 |
5 | 732ms | 2788kb | OK | 10 |
6 | Depăşit | 2752kb | Time limit exceeded. | 0 |
7 | 720ms | 2792kb | OK | 10 |
8 | 832ms | 2788kb | OK | 10 |
9 | 836ms | 2796kb | OK | 10 |
10 | Depăşit | 2752kb | Time limit exceeded. | 0 |
Punctaj total | 80 |