Pagini recente » Borderou de evaluare (job #2199325) | Borderou de evaluare (job #1910248) | Borderou de evaluare (job #1977500) | Borderou de evaluare (job #2935597) | Borderou de evaluare (job #1352811)
Borderou de evaluare (job #1352811)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:6:36: 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:38: 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:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 76ms | 288kb | OK | 100 |
Punctaj total | 100 |