Pagini recente » Borderou de evaluare (job #848417) | Borderou de evaluare (job #512671) | Borderou de evaluare (job #288310) | Borderou de evaluare (job #357730) | Borderou de evaluare (job #1242483)
Borderou de evaluare (job #1242483)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
if (s%k) printf("%lld",-1);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
user.cpp:25:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 252kb | Incorect | 0 |
| 5 | 4ms | 268kb | OK | 10 |
| 6 | 4ms | 272kb | OK | 10 |
| 7 | 36ms | 276kb | OK | 10 |
| 8 | 92ms | 272kb | OK | 10 |
| 9 | 32ms | 276kb | OK | 10 |
| 10 | 16ms | 272kb | Incorect | 0 |
| Punctaj total | 80 |