Pagini recente » Clasamentul arhivei de probleme | Lista lu' Francu | Clasamentul arhivei de probleme | Borderou de evaluare (job #1279086) | Borderou de evaluare (job #1279660)
Borderou de evaluare (job #1279660)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&n,&l,&u);
^
user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:31:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:33:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",Count(u)-Count(l-1));
^
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secv5.in","r",stdin);
^
user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secv5.out","w",stdout);
^
user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&l,&u);
^
user.cpp:31: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 | 272kb | Incorect | 0 |
2 | 4ms | 296kb | Incorect | 0 |
3 | 12ms | 364kb | Incorect | 0 |
4 | 56ms | 640kb | Incorect | 0 |
5 | 68ms | 772kb | Incorect | 0 |
6 | 228ms | 1432kb | Incorect | 0 |
7 | 600ms | 3096kb | Incorect | 0 |
8 | 696ms | 4000kb | Incorect | 0 |
9 | 848ms | 8456kb | Incorect | 0 |
10 | 1780ms | 11252kb | Incorect | 0 |
Punctaj total | 0 |