Pagini recente » Borderou de evaluare (job #816456) | Borderou de evaluare (job #130794) | Borderou de evaluare (job #1979760) | Borderou de evaluare (job #2933868) | Borderou de evaluare (job #1892177)
Borderou de evaluare (job #1892177)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:23: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i", &n);
^
user.cpp:71:30: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%i", x[i]);
^
user.cpp:23:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("quadratum.in", "r", stdin);
^
user.cpp:24:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("quadratum.out", "w", stdout);
^
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &t);
^
user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 100 |
Punctaj total | 100 |