Pagini recente » Borderou de evaluare (job #2066902) | Borderou de evaluare (job #295067) | Borderou de evaluare (job #787583) | Borderou de evaluare (job #580893) | Borderou de evaluare (job #1288239)
Borderou de evaluare (job #1288239)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
for (int i=2;i<=n;++i) scanf("%d",b);
^
user.cpp:6:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicsequence.in","r",stdin);
^
user.cpp:7:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicsequence.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&a);
^
user.cpp:13:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=2;i<=n;++i) scanf("%d",b);
^
user.cpp:14:38: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf(b > a ? "YES\n":"NO\n");
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |