Pagini recente » Borderou de evaluare (job #2790274) | Cod sursa (job #282909) | Borderou de evaluare (job #2024495) | Borderou de evaluare (job #1423288) | Borderou de evaluare (job #1373727)
Borderou de evaluare (job #1373727)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:20:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:20:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:23:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:23:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void dfs(short int)’:
user.cpp:36:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[nod].size();i ++)
^
user.cpp: In function ‘int main()’:
user.cpp:58:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < v[nod].size(); i++){
^
user.cpp: In function ‘void citire()’:
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:23:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp: In function ‘int main()’:
user.cpp:48:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in","r",stdin);
^
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
| 11 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 12 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |