Pagini recente » Borderou de evaluare (job #126293) | Borderou de evaluare (job #2400578) | Borderou de evaluare (job #133274) | Borderou de evaluare (job #2972686) | Borderou de evaluare (job #1507793)
Borderou de evaluare (job #1507793)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d",s%1000000007);
^
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 | 264kb | Incorect | 0 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 20ms | 624kb | Incorect | 0 |
5 | 20ms | 676kb | Incorect | 0 |
6 | 24ms | 756kb | Incorect | 0 |
7 | 40ms | 992kb | Incorect | 0 |
8 | 44ms | 1012kb | Incorect | 0 |
9 | 44ms | 1040kb | Incorect | 0 |
10 | 48ms | 1040kb | Incorect | 0 |
Punctaj total | 0 |