Pagini recente » Borderou de evaluare (job #196067) | Borderou de evaluare (job #7418) | Borderou de evaluare (job #3263803) | Borderou de evaluare (job #51325) | Borderou de evaluare (job #1406356)
Borderou de evaluare (job #1406356)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (j <= nrmax){
^
user.cpp:39:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < n - nrmax; i++)
^
user.cpp:42:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < nrmax; i++)
^
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir7.in", "r", stdin);
^
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir7.out", "w", stdout);
^
user.cpp:23:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &n, &smax, &smin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 156ms | 448kb | Incorect | 0 |
Punctaj total | 0 |