Pagini recente » Borderou de evaluare (job #1215957) | Borderou de evaluare (job #1774983) | Borderou de evaluare (job #1294102) | Borderou de evaluare (job #203860) | Borderou de evaluare (job #1519330)
Borderou de evaluare (job #1519330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:65: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (it=mp.begin();it!=mp.end();it++) printf("%d ",it->first);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.in","r",stdin);
^
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.out","w",stdout);
^
user.cpp:26:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); mp.clear();
^
user.cpp:37:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
user.cpp: In function ‘int cauta(int, int, long long int)’:
user.cpp:21:12: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return sol;
^
user.cpp: In function ‘int main()’:
user.cpp:13:11: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int m,sol;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 688kb | Killed by signal 8(SIGFPE). | 0 |
Punctaj total | 0 |