Pagini recente » Borderou de evaluare (job #2315799) | Borderou de evaluare (job #2742862) | Borderou de evaluare (job #379679) | Borderou de evaluare (job #225661) | Borderou de evaluare (job #1429364)
Borderou de evaluare (job #1429364)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perechi3.in", "r", stdin);
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perechi3.out", "w", stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:29:16: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(--p; p >= 1; --p) rez += n / p;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 272ms | 244kb | OK | 100 |
Punctaj total | 100 |