Pagini recente » Borderou de evaluare (job #377734) | Borderou de evaluare (job #1564313) | Borderou de evaluare (job #3130223) | Borderou de evaluare (job #1798195) | Borderou de evaluare (job #1384482)
Borderou de evaluare (job #1384482)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",max);
^
user.cpp:25:11: warning: unused variable ‘j’ [-Wunused-variable]
long x,i,j;
^
user.cpp:23:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("loto2.in","r",stdin);
^
user.cpp:24:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("loto2.out","w",stdout);
^
user.cpp:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:30:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 288kb | Raspuns corect. | 10 | 0 |
2 | 4ms | 400kb | Raspuns gresit. | 0 |
3 | 8ms | 520kb | Raspuns gresit. | 0 |
4 | 20ms | 872kb | Raspuns gresit. | 0 |
5 | 20ms | 872kb | Raspuns gresit. | 0 |
6 | 40ms | 1452kb | Raspuns gresit. | 0 |
7 | 64ms | 2044kb | Raspuns gresit. | 0 |
8 | 64ms | Depăşit | Memory limit exceeded. | 0 |
9 | 64ms | Depăşit | Memory limit exceeded. | 0 |
10 | 68ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |