Pagini recente » Borderou de evaluare (job #1063869) | Borderou de evaluare (job #1885312) | Cod sursa (job #409238) | Borderou de evaluare (job #576365) | Borderou de evaluare (job #1339130)
Borderou de evaluare (job #1339130)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
scanf("%d %d", &S, &N);
^
user.cpp:14:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d %d", &GR[i], &V[i]);
^
user.cpp:14:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pusculita.in", "r",stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pusculita.out","w",stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &S, &N);
^
user.cpp:14:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &GR[i], &V[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 240kb | OK | 10 |
| 2 | 0ms | 236kb | OK | 10 |
| 3 | 0ms | 240kb | OK | 10 |
| 4 | 0ms | 240kb | OK | 10 |
| 5 | 0ms | 212kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 40 |