Pagini recente » Borderou de evaluare (job #2320009) | Borderou de evaluare (job #2669863) | Borderou de evaluare (job #2320004) | Borderou de evaluare (job #2320007) | Borderou de evaluare (job #1582011)
Borderou de evaluare (job #1582011)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&p);
^
user.cpp:26:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d",&n,&k);
^
user.cpp:26:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:28:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",power(3,k - 1) % 100003);
^
user.cpp:47:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d",s % 100003);
^
user.cpp:40:13: warning: unused variable ‘ic’ [-Wunused-variable]
int ic = 1, jc = k;
^
user.cpp:40:21: warning: unused variable ‘jc’ [-Wunused-variable]
int ic = 1, jc = k;
^
user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sah.in","r",stdin);
^
user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sah.out","w",stdout);
^
user.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&p);
^
user.cpp:26:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&n,&k);
^
user.cpp:30:21: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n = n + 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Corect! | 2 |
2 | 0ms | 272kb | Corect! | 2 |
3 | 0ms | 276kb | Corect! | 2 |
4 | 0ms | 272kb | Corect! | 2 |
5 | 0ms | 272kb | Corect! | 2 |
6 | 0ms | 276kb | Corect! | 2 |
7 | 0ms | 280kb | Corect! | 2 |
8 | 0ms | 276kb | Corect! | 2 |
9 | 0ms | 276kb | Corect! | 2 |
10 | 0ms | 276kb | Raspuns gresit! | 0 |
11 | 0ms | 284kb | Raspuns gresit! | 0 |
12 | 0ms | 280kb | Raspuns gresit! | 0 |
13 | 0ms | 284kb | Raspuns gresit! | 0 |
14 | 0ms | 280kb | Raspuns gresit! | 0 |
15 | 0ms | 280kb | Raspuns gresit! | 0 |
16 | 0ms | 284kb | Raspuns gresit! | 0 |
17 | 0ms | 284kb | Raspuns gresit! | 0 |
18 | 0ms | 280kb | Raspuns gresit! | 0 |
19 | 0ms | 276kb | Raspuns gresit! | 0 |
20 | 0ms | 276kb | Corect! | 2 |
Punctaj total | 20 |