Pagini recente » Borderou de evaluare (job #327264) | Borderou de evaluare (job #848593) | Borderou de evaluare (job #2165653) | Borderou de evaluare (job #773294) | Borderou de evaluare (job #1384470)
Borderou de evaluare (job #1384470)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:8: warning: statement has no effect [-Wunused-value]
for(x;x<=max && x<N;x+=x)
^
user.cpp:33:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",max);
^
user.cpp:13:11: warning: unused variable ‘j’ [-Wunused-variable]
long x,i,j;
^
user.cpp:11: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:12: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:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:18: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 | Depăşit | 368kb | Time limit exceeded. | 0 |
3 | Depăşit | 488kb | Time limit exceeded. | 0 |
4 | Depăşit | 836kb | Time limit exceeded. | 0 |
5 | Depăşit | 840kb | Time limit exceeded. | 0 |
6 | Depăşit | 1428kb | Time limit exceeded. | 0 |
7 | Depăşit | 2004kb | Time limit exceeded. | 0 |
8 | 68ms | 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 |