Pagini recente » Borderou de evaluare (job #466697) | Borderou de evaluare (job #2703439) | Borderou de evaluare (job #3183866) | Borderou de evaluare (job #1370446) | Borderou de evaluare (job #1406419)
Borderou de evaluare (job #1406419)
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 | 140ms | 444kb | Incorect | 0 |
Punctaj total | 0 |