Pagini recente » Borderou de evaluare (job #2533997) | Borderou de evaluare (job #688966) | Borderou de evaluare (job #675873) | Borderou de evaluare (job #3128300) | Borderou de evaluare (job #1778055)
Borderou de evaluare (job #1778055)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:20:49: 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:25:53: 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:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("garaj.in","r",stdin);
^
user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("garaj.out","w",stdout);
^
user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:65:53: warning: ‘T’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = 1; i <= N; ++i) v[i] = 1LL * x[i] * ( T / ( 2 * y[i] ) );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 72ms | 1680kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 80ms | 1820kb | OK | 10 |
8 | 80ms | 1844kb | OK | 10 |
9 | 80ms | 1840kb | OK | 10 |
10 | 80ms | 1828kb | OK | 10 |
Punctaj total | 100 |