Pagini recente » Borderou de evaluare (job #136602) | Borderou de evaluare (job #135270) | Borderou de evaluare (job #3146171) | Borderou de evaluare (job #545293) | Borderou de evaluare (job #1709019)
Borderou de evaluare (job #1709019)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
viz[i]=dist[i]=0;
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("revolta.in","r",stdin);
^
user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("revolta.out","w",stdout);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:37:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 516ms | 4928kb | Incorect | 0 |
Punctaj total | 0 |