Pagini recente » Borderou de evaluare (job #1055823) | Borderou de evaluare (job #94647) | Borderou de evaluare (job #2493252) | Borderou de evaluare (job #1833676) | Borderou de evaluare (job #1523546)
Borderou de evaluare (job #1523546)
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 | 1604kb | OK! | 10 |
2 | 4ms | 1920kb | OK! | 10 |
3 | 8ms | 3016kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 12ms | 4376kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 40ms | 13456kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 40ms | 7504kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 36ms | 14340kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 52ms | 14640kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 52ms | 14640kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 48ms | 14640kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |