Pagini recente » Borderou de evaluare (job #647011) | Borderou de evaluare (job #1964787) | Borderou de evaluare (job #2864790) | Borderou de evaluare (job #1024666) | Borderou de evaluare (job #2169530)
Borderou de evaluare (job #2169530)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:9:10: warning: unused variable ‘inside’ [-Wunused-variable]
bool inside = false;
^
user.cpp: In function ‘int main()’:
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nustiu.in" , "r", stdin);
^
user.cpp:27:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nustiu.out" , "w", stdout);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &tests); tests; --tests)
^
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:43:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 3296kb | OK | 100 |
Punctaj total | 100 |