Pagini recente » Borderou de evaluare (job #3032901) | Borderou de evaluare (job #1790807) | Cod sursa (job #3289986) | Borderou de evaluare (job #1719749) | Borderou de evaluare (job #1309149)
Borderou de evaluare (job #1309149)
Raport evaluator
Compilare:
user.cpp:44:7: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){
^
user.cpp: In function ‘int main()’:
user.cpp:48:18: warning: unused variable ‘maxi’ [-Wunused-variable]
int nrmsel,i,maxi,mini,j;
^
user.cpp:48:23: warning: unused variable ‘mini’ [-Wunused-variable]
int nrmsel,i,maxi,mini,j;
^
user.cpp:48:28: warning: unused variable ‘j’ [-Wunused-variable]
int nrmsel,i,maxi,mini,j;
^
user.cpp: In function ‘void citire()’:
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:16:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&g[i].n1,&g[i].n2,&g[i].cost);
^
user.cpp: In function ‘int main()’:
user.cpp:45:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in","r",stdin);
^
user.cpp:46:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | Corect | 10 |
| 2 | 0ms | 268kb | Cost incorect | 0 |
| 3 | 0ms | 264kb | Cost incorect | 0 |
| 4 | 0ms | 268kb | Cost incorect | 0 |
| 5 | 0ms | 272kb | Cost incorect | 0 |
| 6 | 108ms | 1732kb | Cost incorect | 0 |
| 7 | 188ms | 2852kb | Cost incorect | 0 |
| 8 | 36ms | 828kb | Cost incorect | 0 |
| 9 | 44ms | 916kb | Cost incorect | 0 |
| 10 | 164ms | 2544kb | Cost incorect | 0 |
| Punctaj total | 10 |