Pagini recente » Borderou de evaluare (job #2017756) | Borderou de evaluare (job #133854) | Borderou de evaluare (job #1555314) | Borderou de evaluare (job #2820823) | Borderou de evaluare (job #1452015)
Borderou de evaluare (job #1452015)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",rasp);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.out","w",stdout);
^
user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:14:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d %d\n",&a[i],&b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 296kb | Time limit exceeded. | 0 |
Punctaj total | 0 |