Pagini recente » Borderou de evaluare (job #2412556) | Borderou de evaluare (job #30313) | Borderou de evaluare (job #3174853) | Borderou de evaluare (job #65496) | Borderou de evaluare (job #1185028)
Borderou de evaluare (job #1185028)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld",&a[i],&b[i]);
^
user.cpp:30:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.in","r",stdin);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.out","w",stdout);
^
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:30:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&a[i],&b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | Depăşit | 380kb | Time limit exceeded. | 0 |
4 | 8ms | 492kb | OK | 10 |
5 | 8ms | 496kb | OK | 10 |
6 | 8ms | 488kb | OK | 10 |
7 | 8ms | 488kb | OK | 10 |
8 | 8ms | 496kb | OK | 10 |
9 | 8ms | 496kb | OK | 10 |
10 | Depăşit | 468kb | Time limit exceeded. | 0 |
Punctaj total | 80 |