Pagini recente » Borderou de evaluare (job #62952) | Borderou de evaluare (job #1717828) | Borderou de evaluare (job #1192078) | Borderou de evaluare (job #2937111) | Borderou de evaluare (job #1957231)
Borderou de evaluare (job #1957231)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(n==1) {printf("%d",d[1]);return 0;}
^
user.cpp:34:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",d[n]);
^
user.cpp:11:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gaz.in","r",stdin);
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gaz.out","w",stdout);
^
user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&L,&P,&D,&C);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 292kb | OK | 10 |
10 | 56ms | 308kb | Incorect | 0 |
Punctaj total | 90 |