Pagini recente » Borderou de evaluare (job #2617088) | Borderou de evaluare (job #3176415) | Borderou de evaluare (job #2250746) | Borderou de evaluare (job #796350) | Borderou de evaluare (job #1883677)
Borderou de evaluare (job #1883677)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",(1+(crt*((dif-1)%MOD))%MOD)%MOD);
^
user.cpp:42:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",(1+(crt*(dif%MOD))%MOD)%MOD);
^
user.cpp: In function ‘long long int putere(long long int, long long int)’:
user.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:16: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:17: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:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Corect! | 2 |
2 | 0ms | 276kb | Corect! | 2 |
3 | 0ms | 272kb | Corect! | 2 |
4 | 0ms | 272kb | Corect! | 2 |
5 | 0ms | 272kb | Corect! | 2 |
6 | 0ms | 272kb | Corect! | 2 |
7 | 0ms | 272kb | Corect! | 2 |
8 | 0ms | 272kb | Corect! | 2 |
9 | 0ms | 272kb | Corect! | 2 |
10 | 0ms | 276kb | Raspuns gresit! | 0 |
11 | 0ms | 272kb | Raspuns gresit! | 0 |
12 | 0ms | 272kb | Raspuns gresit! | 0 |
13 | 0ms | 272kb | Raspuns gresit! | 0 |
14 | 0ms | 268kb | Raspuns gresit! | 0 |
15 | 0ms | 272kb | Raspuns gresit! | 0 |
16 | 0ms | 268kb | Raspuns gresit! | 0 |
17 | 0ms | 276kb | Raspuns gresit! | 0 |
18 | 0ms | 272kb | Raspuns gresit! | 0 |
19 | 0ms | 272kb | Raspuns gresit! | 0 |
20 | 0ms | 268kb | Corect! | 2 |
Punctaj total | 20 |