Pagini recente » Borderou de evaluare (job #3163521) | Borderou de evaluare (job #3151628) | Borderou de evaluare (job #1336536) | Borderou de evaluare (job #3189579) | Borderou de evaluare (job #1300720)
Borderou de evaluare (job #1300720)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:27:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<A[x].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d %d %d %d",a,b,t,w);
^
user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=]
user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘int’ [-Wformat=]
user.cpp:57:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
user.cpp:58:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
user.cpp:59:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:60:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d",&ally[i]);
^
user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:64:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",a,b,t,w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |