Pagini recente » Borderou de evaluare (job #362721) | Borderou de evaluare (job #2055689) | Borderou de evaluare (job #2456244) | Borderou de evaluare (job #820113) | Borderou de evaluare (job #1579087)
Borderou de evaluare (job #1579087)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",D[n]);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klexico.in","r",stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klexico.out","w",stdout);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&k);
^
user.cpp:16:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
/tmp/ccI2oUhG.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 276kb | Incorect | 0 | 0 |
✗ | 2 | 0ms | 280kb | Incorect | 0 | 0 |
✗ | 3 | 0ms | 288kb | Incorect | 0 | 0 |
✓ | 4 | 0ms | 288kb | Incorect | 0 | 0 |
✗ | 5 | 0ms | 364kb | Incorect | 0 | 0 |
✗ | 6 | 0ms | 360kb | Incorect | 0 |
✗ | 7 | 4ms | 1148kb | Incorect | 0 |
✗ | 8 | 4ms | 1152kb | Incorect | 0 | 0 |
✓ | 9 | 8ms | 1532kb | Incorect | 0 |
✗ | 10 | 4ms | 1152kb | Incorect | 0 |
Punctaj total | 0 |