Pagini recente » Borderou de evaluare (job #3146001) | Borderou de evaluare (job #43202) | Borderou de evaluare (job #3218604) | Borderou de evaluare (job #1239325) | Borderou de evaluare (job #2084982)
Borderou de evaluare (job #2084982)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:14: warning: statement has no effect [-Wunused-value]
for(n;n>=3;n--)
^
user.cpp:17:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
if(b>a) printf("%d",b);
^
user.cpp:18:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
else printf("%d",a);
^
user.cpp:5:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nunta.in","r",stdin);
^
user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nunta.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 252kb | Incorect | 0 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 256kb | Incorect | 0 |
8 | 0ms | 252kb | Incorect | 0 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 252kb | Incorect | 0 |
Punctaj total | 40 |