Pagini recente » Borderou de evaluare (job #3028113) | Borderou de evaluare (job #1914784) | Borderou de evaluare (job #2198515) | Borderou de evaluare (job #517627) | Borderou de evaluare (job #1331234)
Borderou de evaluare (job #1331234)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:32:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&v[i].x,&v[i].y,&v[i].r);
^
user.cpp:32:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:32:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘bool cmp(punct, punct)’:
user.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.out","w",stdout);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&v[i].x,&v[i].y,&v[i].r);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 272kb | Ultimele doua valori gresite! | 2 |
| 3 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 4ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 8ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 20ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 24ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 44ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 280kb | OK! | 10 |
| Punctaj total | 12 |