Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Cod sursa (job #1509366) | Borderou de evaluare (job #1536851) | Borderou de evaluare (job #1536753)
Borderou de evaluare (job #1536753)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:93:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:93:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:95:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&baza[i]);
^
user.cpp:99:20: warning: large integer implicitly truncated to unsigned type [-Woverflow]
T[i][j]=inf, W[i][j]=k + 1;
^
user.cpp:91:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inFile,"r",stdin);
^
user.cpp:93: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:95:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&baza[i]);
^
user.cpp:101:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:105:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&a,&b,&c,&d);
^
user.cpp:126:26: warning: ‘Kmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
g<<timpMin<<" "<<Kmax;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |