Pagini recente » Borderou de evaluare (job #1724640) | Borderou de evaluare (job #2489031) | Borderou de evaluare (job #1744919) | Borderou de evaluare (job #2046040) | Borderou de evaluare (job #1693486)
Borderou de evaluare (job #1693486)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve()’:
user.cpp:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prezenta.in", "r", stdin);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prezenta.out", "w", stdout);
^
user.cpp:19:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 332kb | OK | 100 |
Punctaj total | 100 |