Pagini recente » Borderou de evaluare (job #2713779) | Borderou de evaluare (job #2871395) | Borderou de evaluare (job #2463303) | Borderou de evaluare (job #1679837) | Borderou de evaluare (job #1986040)
Borderou de evaluare (job #1986040)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:12:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nra>=v1.size()) return (nra+1+v1.size())/2+v2.size();
^
user.cpp:18:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(poz<v1.size())
^
user.cpp:21:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz+x<v1.size())
^
user.cpp: In function ‘int main()’:
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mobs.in", "r", stdin);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mobs.out", "w", stdout);
^
user.cpp:43:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d",&t);t;t--)
^
user.cpp:46:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&a,&b);
^
user.cpp:52:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 468ms | 800kb | Incorect | 0 |
Punctaj total | 0 |