Pagini recente » Borderou de evaluare (job #2184830) | Borderou de evaluare (job #2940822) | Borderou de evaluare (job #645728) | Borderou de evaluare (job #383489) | Borderou de evaluare (job #1902086)
Borderou de evaluare (job #1902086)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&v[i]);
^
user.cpp:9:15: warning: unused variable ‘x’ [-Wunused-variable]
long long n,i,x,k,s;
^
user.cpp:9:17: warning: unused variable ‘k’ [-Wunused-variable]
long long n,i,x,k,s;
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("galagie.in","r",stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("galagie.out","w",stdout);
^
user.cpp:10:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 20ms | 448kb | OK | 10 |
5 | 20ms | 464kb | OK | 10 |
6 | 28ms | 512kb | OK | 10 |
7 | 44ms | 628kb | Incorect | 0 |
8 | 44ms | 636kb | Incorect | 0 |
9 | 48ms | 648kb | Incorect | 0 |
10 | 48ms | 648kb | OK | 10 |
Punctaj total | 70 |