Pagini recente » Borderou de evaluare (job #96618) | Borderou de evaluare (job #1909518) | Borderou de evaluare (job #302785) | Borderou de evaluare (job #902280) | Borderou de evaluare (job #1715865)
Borderou de evaluare (job #1715865)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:24:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < Sol.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:33:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&T);
^
user.cpp:30:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.in", "r", stdin);
^
user.cpp:31:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.out", "w", stdout);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:36:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 288kb | OK | 100 |
Punctaj total | 100 |