Pagini recente » Borderou de evaluare (job #2833533) | Borderou de evaluare (job #3277251) | Borderou de evaluare (job #2444038) | Borderou de evaluare (job #1133779) | Borderou de evaluare (job #1182305)
Borderou de evaluare (job #1182305)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(long long int)’:
user.cpp:17:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<v.size())
^
user.cpp:22:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<v.size() && v[i]-start<=x) i++;
^
user.cpp: In function ‘int main()’:
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte3.in","r",stdin);
^
user.cpp:41:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte3.out","w",stdout);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:46:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld%lld%lld",&n,&m,&a,&b,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 232ms | 1168kb | OK | 100 |
Punctaj total | 100 |