Pagini recente » Borderou de evaluare (job #188424) | Borderou de evaluare (job #1006746) | Borderou de evaluare (job #3290405) | Cod sursa (job #957641) | Borderou de evaluare (job #1352589)
Borderou de evaluare (job #1352589)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 2 has type ‘ULL* {aka long long unsigned int*}’ [-Wformat=]
scanf("%lu", &k);
^
user.cpp:15:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.cpp:16:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.cpp:17:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu", &n);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lu", &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 288kb | Incorect | 0 |
Punctaj total | 0 |