Pagini recente » Borderou de evaluare (job #1942025) | Borderou de evaluare (job #2322420) | Borderou de evaluare (job #2230444) | Borderou de evaluare (job #1293560) | Borderou de evaluare (job #1306704)
Borderou de evaluare (job #1306704)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:11:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[x].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:27:23: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, x, y;
^
user.cpp:28:18: warning: unused variable ‘plus’ [-Wunused-variable]
bool plus=false;
^
user.cpp:29:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in","r",stdin);
^
user.cpp:30:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out","w",stdout);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:34:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:39:36: 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 | 16ms | 828kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 456kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 0ms | 452kb | OK | 10 |
6 | 0ms | 452kb | OK | 10 |
7 | 8ms | 732kb | OK | 10 |
8 | 16ms | 816kb | OK | 10 |
9 | 16ms | 820kb | OK | 10 |
10 | 16ms | 828kb | OK | 10 |
Punctaj total | 100 |