Pagini recente » Borderou de evaluare (job #1568305) | Borderou de evaluare (job #966960) | Borderou de evaluare (job #3246712) | Borderou de evaluare (job #2039432) | Borderou de evaluare (job #1390685)
Borderou de evaluare (job #1390685)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logs.in","r",stdin);
^
user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logs.out","w",stdout);
^
user.cpp:24:23: 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:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buff,2,stdin);
^
user.cpp:49:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buff,MMAX,stdin);
^
user.cpp:80:34: warning: ‘valoare’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (poz*m<best && valoare<i*m/1.5 && m*(n-i+1)<best)break;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 4ms | 272kb | OK | 10 |
3 | 16ms | 292kb | OK | 10 |
4 | 92ms | 292kb | OK | 10 |
5 | 88ms | 292kb | Incorect | 0 |
6 | 276ms | 304kb | OK | 10 |
7 | 308ms | 300kb | OK | 10 |
8 | 476ms | 304kb | OK | 10 |
9 | 416ms | 304kb | OK | 10 |
10 | 164ms | 308kb | Incorect | 0 |
Punctaj total | 80 |