Pagini recente » Borderou de evaluare (job #53164) | Borderou de evaluare (job #2173202) | Autentificare | Borderou de evaluare (job #323811) | Borderou de evaluare (job #1507436)
Borderou de evaluare (job #1507436)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d",sol);
^
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 | 272kb | Incorect | 0 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 16ms | 628kb | Incorect | 0 |
5 | 20ms | 680kb | Incorect | 0 |
6 | 28ms | 760kb | Incorect | 0 |
7 | 40ms | 996kb | Incorect | 0 |
8 | 40ms | 1016kb | Incorect | 0 |
9 | 44ms | 1044kb | Incorect | 0 |
10 | 48ms | 1052kb | Incorect | 0 |
Punctaj total | 0 |