Pagini recente » Borderou de evaluare (job #1689559) | Borderou de evaluare (job #1654250) | Borderou de evaluare (job #724736) | Borderou de evaluare (job #2573057) | Borderou de evaluare (job #2102168)
Borderou de evaluare (job #2102168)
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:91: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:92: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:97: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 | 1620kb | OK | 10 |
3 | 4ms | 1640kb | OK | 10 |
4 | 60ms | 1748kb | OK | 10 |
5 | 736ms | 2792kb | OK | 10 |
6 | Depăşit | 2752kb | Time limit exceeded. | 0 |
7 | 732ms | 2796kb | OK | 10 |
8 | 888ms | 2796kb | OK | 10 |
9 | 888ms | 2796kb | OK | 10 |
10 | Depăşit | 2752kb | Time limit exceeded. | 0 |
Punctaj total | 80 |