Pagini recente » Borderou de evaluare (job #242472) | Borderou de evaluare (job #2448493) | Borderou de evaluare (job #31716) | Borderou de evaluare (job #2249) | Borderou de evaluare (job #1794662)
Borderou de evaluare (job #1794662)
Raport evaluator
Compilare:
user.cpp: In function ‘numar construct(long long int)’:
user.cpp:32:16: warning: unused variable ‘d’ [-Wunused-variable]
long long d=1,p=0;
^
user.cpp: In function ‘int main()’:
user.cpp:103:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",(n*(n+1)/2)%mod);
^
user.cpp:82:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("preasimplu.in","r",stdin);
^
user.cpp:83:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("preasimplu.out","w",stdout);
^
user.cpp:84:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&Q);
^
user.cpp:95:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&n,&K,&mod);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 328kb | OK | 5 | 10 |
2 | 0ms | 328kb | OK | 5 |
3 | 4ms | 328kb | OK | 5 | 15 |
4 | 0ms | 328kb | OK | 5 |
5 | 0ms | 332kb | OK | 5 |
6 | 20ms | 336kb | OK | 5 | 25 |
7 | 4ms | 332kb | OK | 5 |
8 | 0ms | 328kb | OK | 5 |
9 | 0ms | 324kb | OK | 5 |
10 | 0ms | 316kb | OK | 5 |
11 | 1072ms | 328kb | OK | 5 | 25 |
12 | 1244ms | 332kb | OK | 5 |
13 | 1088ms | 332kb | OK | 5 |
14 | 480ms | 332kb | OK | 5 |
15 | 1660ms | 332kb | OK | 5 |
16 | 1152ms | 332kb | OK | 5 | 0 |
17 | 1916ms | 332kb | OK | 5 |
18 | 1180ms | 328kb | OK | 5 |
19 | 1200ms | 332kb | OK | 5 |
20 | Depăşit | 316kb | Time limit exceeded. | 0 |
Punctaj total | 75 |