Pagini recente » Borderou de evaluare (job #1210685) | Borderou de evaluare (job #1659648) | Borderou de evaluare (job #959613) | Borderou de evaluare (job #2617304) | Borderou de evaluare (job #2226650)
Borderou de evaluare (job #2226650)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sol % MOD );
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:48:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&noCases );
^
user.cpp:51:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&noPitici , &noCamere );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 408ms | 5220kb | OK | 100 |
Punctaj total | 100 |