Pagini recente » Borderou de evaluare (job #2370700) | Borderou de evaluare (job #3210933) | Borderou de evaluare (job #2611133) | Borderou de evaluare (job #114806) | Borderou de evaluare (job #1229939)
Borderou de evaluare (job #1229939)
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:31:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:32:27: 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: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:31: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 | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 2 | 4ms | 1008kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 3 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 4 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 5 | 84ms | 1036kb | Incorect | 0 |
✗ | 6 | 84ms | 1044kb | Incorect | 0 |
✗ | 7 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 8 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 10 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |