Pagini recente » Borderou de evaluare (job #1066403) | Borderou de evaluare (job #3214762) | Borderou de evaluare (job #1169554) | Borderou de evaluare (job #3003465) | Borderou de evaluare (job #1390680)
Borderou de evaluare (job #1390680)
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:79:30: warning: ‘valoare’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (poz*m<best && poz*valoare*(n-i+1)<best && m*(n-i+1)<best)break;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 4ms | 280kb | OK | 10 |
3 | 16ms | 296kb | OK | 10 |
4 | 96ms | 296kb | OK | 10 |
5 | 92ms | 292kb | Incorect | 0 |
6 | 280ms | 300kb | OK | 10 |
7 | 304ms | 300kb | OK | 10 |
8 | 468ms | 304kb | OK | 10 |
9 | 416ms | 304kb | OK | 10 |
10 | 160ms | 308kb | Incorect | 0 |
Punctaj total | 80 |