Pagini recente » Borderou de evaluare (job #421462) | Borderou de evaluare (job #1335100) | Borderou de evaluare (job #2344981) | Borderou de evaluare (job #1104674) | Borderou de evaluare (job #1405863)
Borderou de evaluare (job #1405863)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d", V[i+1]);
^
user.cpp:30:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mafia.in", "r", stdin);
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mafia.out", "w", stdout);
^
user.cpp:35:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &N, &M, &X);
^
user.cpp:38:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", V[i+1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |