Pagini recente » Borderou de evaluare (job #1248515) | Borderou de evaluare (job #2753926) | Borderou de evaluare (job #1009475) | Borderou de evaluare (job #2362097) | Borderou de evaluare (job #1354979)
Borderou de evaluare (job #1354979)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:15: warning: variable ‘ans’ set but not used [-Wunused-but-set-variable]
int t,n,x,ans = 0;
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("azerah.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("azerah.out","w",stdout);
^
user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);ans = 0;
^
user.cpp:16: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 | 264ms | 1224kb | OK | 100 |
Punctaj total | 100 |