Pagini recente » Borderou de evaluare (job #2056729) | Borderou de evaluare (job #2712144) | Borderou de evaluare (job #697554) | Borderou de evaluare (job #256373) | Borderou de evaluare (job #1508987)
Borderou de evaluare (job #1508987)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&nr);
^
user.cpp:42:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("resturi.in","r",stdin);
^
user.cpp:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("resturi.out","w",stdout);
^
user.cpp:44:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
user.cpp:48:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&nr);
^
user.cpp:52:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n[i],&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Killed by signal 8(SIGFPE). | 0 |
Punctaj total | 0 |