Pagini recente » Borderou de evaluare (job #1797901) | Borderou de evaluare (job #1260616) | Borderou de evaluare (job #2229547) | Borderou de evaluare (job #1150037) | Borderou de evaluare (job #1451191)
Borderou de evaluare (job #1451191)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",1 << Sol);
^
user.cpp:39:14: warning: unused variable ‘Z’ [-Wunused-variable]
long X,Y,Z,Sol,i;
^
user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divmul.in","r",stdin);
^
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divmul.out","w",stdout);
^
user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:51:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&X,&Y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 304kb | Time limit exceeded. | 0 |
Punctaj total | 0 |