Pagini recente » Borderou de evaluare (job #2655090) | Borderou de evaluare (job #861916) | Borderou de evaluare (job #1597239) | Borderou de evaluare (job #1198509) | Borderou de evaluare (job #1229952)
Borderou de evaluare (job #1229952)
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:32:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:34: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:36: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:32: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 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 2 | 84ms | 1032kb | Incorect | 0 |
✗ | 3 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 4 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 5 | 84ms | 1040kb | Incorect | 0 |
✗ | 6 | 84ms | 1032kb | Incorect | 0 |
✗ | 7 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 8 | 0ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 10 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |