Pagini recente » Borderou de evaluare (job #2619135) | Cod sursa (job #2913307) | Borderou de evaluare (job #2635158) | Borderou de evaluare (job #3182378) | Borderou de evaluare (job #1523547)
Borderou de evaluare (job #1523547)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:60:38: error: 'gets' was not declared in this scope
scanf("%d %d %d",&n,&m,&q); gets(s[0]);
^
main.cpp:58:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.in","r",stdin);
^
main.cpp:59:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.out","w",stdout);
^
main.cpp:60:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&q); gets(s[0]);
^
main.cpp:81:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&x1,&y1,&x2,&y2);
^
Non zero exit status: 1
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1600kb | OK! | 10 |
| 2 | 4ms | 1916kb | OK! | 10 |
| 3 | 8ms | 3020kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 12ms | 4376kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 44ms | 7552kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 40ms | 8076kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 48ms | 8388kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 64ms | 9116kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 52ms | 8820kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 56ms | 9008kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |