Pagini recente » Borderou de evaluare (job #1971299) | Borderou de evaluare (job #2970700) | Borderou de evaluare (job #3249535) | Borderou de evaluare (job #1905134) | Borderou de evaluare (job #1229958)
Borderou de evaluare (job #1229958)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:33:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:35:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",a[x]);
^
user.cpp:37:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",x);
^
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.in","r",stdin);
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:15:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&nn,&x);
^
user.cpp:20:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 100ms | 1044kb | Incorect | 0 |
✗ | 2 | 88ms | 1044kb | Incorect | 0 |
✗ | 3 | 64ms | 1040kb | Incorect | 0 |
✗ | 4 | 64ms | 1036kb | Incorect | 0 |
✗ | 5 | 84ms | 1036kb | Incorect | 0 |
✗ | 6 | 84ms | 1040kb | Incorect | 0 |
✗ | 7 | 36ms | 1040kb | Incorect | 0 |
✗ | 8 | 36ms | 1044kb | Incorect | 0 |
✓ | 9 | 96ms | 1044kb | Incorect | 0 |
✗ | 10 | 100ms | 1040kb | Incorect | 0 |
Punctaj total | 0 |