Pagini recente » Borderou de evaluare (job #912395) | Borderou de evaluare (job #694571) | Borderou de evaluare (job #2343400) | Borderou de evaluare (job #2415497) | Borderou de evaluare (job #1507427)
Borderou de evaluare (job #1507427)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d",s);
^
user.cpp:6:35: 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:7:38: 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:9:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:10:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n;i++)scanf("%ld", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect | 0 |
2 | 0ms | 292kb | Incorect | 0 |
3 | 0ms | 296kb | Incorect | 0 |
4 | 16ms | 640kb | Incorect | 0 |
5 | 20ms | 688kb | Incorect | 0 |
6 | 24ms | 768kb | Incorect | 0 |
7 | 44ms | 1004kb | Incorect | 0 |
8 | 40ms | 1020kb | Incorect | 0 |
9 | 44ms | 1052kb | Incorect | 0 |
10 | 48ms | 1060kb | Incorect | 0 |
Punctaj total | 0 |