Pagini recente » Borderou de evaluare (job #2184614) | Borderou de evaluare (job #3288465) | Borderou de evaluare (job #1645655) | Borderou de evaluare (job #2984325) | Borderou de evaluare (job #1204229)
Borderou de evaluare (job #1204229)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(i==2 && j==1 || i==1 &&j==2)
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tritzi.in","r",stdin);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tritzi.out","w",stdout);
^
user.cpp:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:53:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 100 |
Punctaj total | 100 |