Pagini recente » Borderou de evaluare (job #2030876) | Borderou de evaluare (job #2899223) | Borderou de evaluare (job #2055929) | Borderou de evaluare (job #2150957) | Borderou de evaluare (job #1352146)
Borderou de evaluare (job #1352146)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1; i<=floor_sqrt_n; i++) {
^
user.cpp:7: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:8: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:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int t; scanf("%d", &t);
^
user.cpp:13:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int n; scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 96ms | 288kb | OK | 100 |
Punctaj total | 100 |