Pagini recente » Borderou de evaluare (job #405973) | Borderou de evaluare (job #2445581) | Borderou de evaluare (job #1356415) | Borderou de evaluare (job #1755750) | Borderou de evaluare (job #2445957)
Borderou de evaluare (job #2445957)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:8:24: warning: unused variable 'cnt' [-Wunused-variable]
{int n,m,i,j,maxim = 0,cnt = 0;
^~~
main.cpp:9:33: 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);
^
main.cpp:10:35: 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);
^
main.cpp:12:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
main.cpp:19:40: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(ch + 1, 3 + 15001, stdin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:19:40:
/usr/include/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 6ms | 131kb | OK | 10 |
3 | 15ms | 131kb | OK | 10 |
4 | 72ms | 131kb | OK | 10 |
5 | 118ms | 131kb | OK | 10 |
6 | 189ms | 131kb | OK | 10 |
7 | 175ms | 131kb | OK | 10 |
8 | 495ms | 131kb | OK | 10 |
9 | 221ms | 131kb | OK | 10 |
10 | 247ms | 131kb | OK | 10 |
Punctaj total | 100 |