Pagini recente » Borderou de evaluare (job #2474398) | Borderou de evaluare (job #253751) | Borderou de evaluare (job #141165) | Borderou de evaluare (job #1981068) | Borderou de evaluare (job #1408062)
Borderou de evaluare (job #1408062)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:15: warning: unused variable ‘ans’ [-Wunused-variable]
double prob, ans;
^
user.cpp:7: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:8: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:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:17: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:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 272ms | 656kb | OK | 100 |
Punctaj total | 100 |