Pagini recente » Borderou de evaluare (job #1352564) | Clasamentul arhivei de probleme | Borderou de evaluare (job #3040761) | Borderou de evaluare (job #1791191) | Borderou de evaluare (job #1351208)
Borderou de evaluare (job #1351208)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", s);
^
user.cpp:27:37: 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:28:39: 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:31:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 184ms | 280kb | Incorect | 0 |
Punctaj total | 0 |